diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-10-17 21:31:35 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-24 17:03:40 +0300 |
| commit | 8786e98dd0ebb8ab3adfddd3517f3505c3a61c23 (patch) | |
| tree | 31a44983b2a903b523c6936bccbf906c01533f4d /rust/helpers/build_bug.c | |
| parent | 42f5fe1dc4babad1c49bcc4121983fffccee3cd9 (diff) | |
| download | linux-8786e98dd0ebb8ab3adfddd3517f3505c3a61c23.tar.xz | |
phonet: Don't hold RTNL for addr_doit().
Now only __dev_get_by_index() depends on RTNL in addr_doit().
Let's use dev_get_by_index_rcu() and register addr_doit() with
RTNL_FLAG_DOIT_UNLOCKED.
While at it, I changed phonet_rtnl_msg_handlers[]'s init to C99
style like other core networking code.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
