diff options
author | 2024-10-17 11:31:35 -0700 | |
---|---|---|
committer | 2024-10-24 16:03:40 +0200 | |
commit | 8786e98dd0ebb8ab3adfddd3517f3505c3a61c23 (patch) | |
tree | 31a44983b2a903b523c6936bccbf906c01533f4d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | phonet: Convert phonet_device_list.lock to spinlock_t. (diff) | |
download | wireguard-linux-8786e98dd0ebb8ab3adfddd3517f3505c3a61c23.tar.xz wireguard-linux-8786e98dd0ebb8ab3adfddd3517f3505c3a61c23.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions