From: Eric W. Biederman Date: Mon, 9 Jul 2012 10:51:45 +0000 (+0000) Subject: bonding: Manage /proc/net/bonding/ entries from the netdev events X-Git-Tag: v3.5~24^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a64d49c3dd504b685f9742a2f3dcb11fb8e4345f;p=pandora-kernel.git 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" Signed-off-by: David S. Miller --- Reading git-diff-tree failed