diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2012-07-09 10:51:45 +0000 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2012-07-25 04:11:46 +0100 |
| commit | cbcdb622dcf9254668a18a31c4df97c170f86a7a (patch) | |
| tree | db3e38e29e75e2aff43671ae9c3e2813b9115ff0 /lib/debugobjects.c | |
| parent | 78d40a34b2e35e675b11185e2ff6bd8e9e5145b2 (diff) | |
bonding: Manage /proc/net/bonding/ entries from the netdev events
commit a64d49c3dd504b685f9742a2f3dcb11fb8e4345f upstream.
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
