summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_debugfs.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-07-09 10:51:45 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-09 14:49:15 -0700
commita64d49c3dd504b685f9742a2f3dcb11fb8e4345f (patch)
tree2cb1d88c6a958f52c51a3785ea266c1533d695f4 /drivers/net/bonding/bond_debugfs.c
parent684901a6df1fb91fc9a2bdb89ffbebb241428d78 (diff)
downloadlinux-a64d49c3dd504b685f9742a2f3dcb11fb8e4345f.tar.bz2
bonding: Manage /proc/net/bonding/ entries from the netdev events
It was recently reported that moving a bonding device between network namespaces causes warnings from /proc. It turns out after the move we were trying to add and to remove the /proc/net/bonding entries from the wrong network namespace. Move the bonding /proc registration code into the NETDEV_REGISTER and NETDEV_UNREGISTER events where the proc registration and unregistration will always happen at the right time. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_debugfs.c')
0 files changed, 0 insertions, 0 deletions