summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_procfs.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-02-07 20:50:37 -0800
committerJakub Kicinski <kuba@kernel.org>2022-02-08 20:41:35 -0800
commit16a41634accacb2b3eee3580a0aef2da0f15aabd (patch)
tree7b01f61ba8622b34d1aaf164e1a5dd3787100da3 /drivers/net/bonding/bond_procfs.c
parentef0de6696c38cbefba64fc1e29c18882bac1f747 (diff)
downloadlinux-stable-16a41634accacb2b3eee3580a0aef2da0f15aabd.tar.gz
linux-stable-16a41634accacb2b3eee3580a0aef2da0f15aabd.tar.bz2
linux-stable-16a41634accacb2b3eee3580a0aef2da0f15aabd.zip
bonding: switch bond_net_exit() to batch mode
cleanup_net() is competing with other rtnl users. Batching bond_net_exit() factorizes all rtnl acquistions to a single one, giving chance for cleanup_net() to progress much faster, holding rtnl a bit longer. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Jay Vosburgh <j.vosburgh@gmail.com> Cc: Veaceslav Falico <vfalico@gmail.com> Cc: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/bonding/bond_procfs.c')
-rw-r--r--drivers/net/bonding/bond_procfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c
index 46b150e6289e..cfe37be42be4 100644
--- a/drivers/net/bonding/bond_procfs.c
+++ b/drivers/net/bonding/bond_procfs.c
@@ -307,7 +307,6 @@ void __net_init bond_create_proc_dir(struct bond_net *bn)
}
/* Destroy the bonding directory under /proc/net, if empty.
- * Caller must hold rtnl_lock.
*/
void __net_exit bond_destroy_proc_dir(struct bond_net *bn)
{