]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bonding: debugfs and network namespaces are incompatible
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 9 Jul 2012 10:52:43 +0000 (10:52 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 25 Jul 2012 03:11:46 +0000 (04:11 +0100)
commit78d40a34b2e35e675b11185e2ff6bd8e9e5145b2
treef181d3180ee4fdcd15516aebc2b19ddbf37a0745
parentb5ff5ad1b9299fccc11c801764fa23ca696161cf
bonding: debugfs and network namespaces are incompatible

commit 96ca7ffe748bf91f851e6aa4479aa11c8b1122ba upstream.

The bonding debugfs support has been broken in the presence of network
namespaces since it has been added.  The debugfs support does not handle
multiple bonding devices with the same name in different network
namespaces.

I haven't had any bug reports, and I'm not interested in getting any.
Disable the debugfs support when network namespaces are enabled.

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>
drivers/net/bonding/bond_debugfs.c