]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2012 21:49:15 +0000 (14:49 -0700)
commit96ca7ffe748bf91f851e6aa4479aa11c8b1122ba
treec7531e434b5bb9a7120148779b9416a629dd4250
parenta64d49c3dd504b685f9742a2f3dcb11fb8e4345f
bonding: debugfs and network namespaces are incompatible

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