summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-04-08 22:04:35 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-10 03:31:45 +0300
commit6c5d17143fa4e433894a11cd4ce4ce147131d6bf (patch)
tree1735d4946c11e8382eba975c98c0707c4a361341 /tools/perf/scripts/python/export-to-postgresql.py
parentd034d02de882d0ac600806724f9ffeb52de11e2e (diff)
downloadlinux-6c5d17143fa4e433894a11cd4ce4ce147131d6bf.tar.xz
bonding: no longer use RTNL in bonding_show_bonds()
netdev structures are already RCU protected. Change bond_init() and bond_uninit() to use RCU enabled list_add_tail_rcu() and list_del_rcu(). Then bonding_show_bonds() can use rcu_read_lock() while iterating through bn->dev_list. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com> Link: https://lore.kernel.org/r/20240408190437.2214473-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions