]> git.karo-electronics.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 15:58:58 +0000 (08:58 -0700)
commitf4e2229ea5d49e338fce36b2c36f22b525fbeff6
tree6b3457bd78063b4d3e685087955385e908d6a902
parentb98522a7cf0ff60bcf49330d9467089515cf9dad
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/bonding/bond_debugfs.c