mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 15:42:19 +02:00
bonding: debugfs and network namespaces are incompatible
commit 96ca7ffe74 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>
This commit is contained in:
parent
b98522a7cf
commit
f4e2229ea5
|
|
@ -6,7 +6,7 @@
|
|||
#include "bonding.h"
|
||||
#include "bond_alb.h"
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
#if defined(CONFIG_DEBUG_FS) && !defined(CONFIG_NET_NS)
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/seq_file.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user