Re: [PATCH 2/2] bonding: debugfs and network namespaces are incompatible

From: Jay Vosburgh
Date: Tue Jul 10 2012 - 13:36:46 EST


David Miller <davem@xxxxxxxxxxxxx> wrote:

>From: ebiederm@xxxxxxxxxxxx (Eric W. Biederman)
>Date: Mon, 09 Jul 2012 13:52:43 -0700
>
>>
>> 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@xxxxxxxxxxxx>
>
>Applied.

Since distro kernels appear to set CONFIG_NET_NS, doesn't this
effectively disable debugfs for bonding on most distros?

Do the other network device drivers that support debugfs have a
similar problem? E.g., if each of two namespaces have an skge device
with the same name, will there be a debugfs conflict there as well?

-J

---
-Jay Vosburgh, IBM Linux Technology Center, fubar@xxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/