[Devel] Re: [PATCH 7/8] netns: Enable tagging for net_class directories in sysfs
David Miller
davem at davemloft.net
Wed Aug 20 23:47:19 PDT 2008
From: ebiederm at xmission.com (Eric W. Biederman)
Date: Wed, 20 Aug 2008 23:39:13 -0700
>
> The problem. Network devices show up in sysfs and with the network
> namespace active multiple devices with the same name can show up in
> the same directory, ouch!
>
> To avoid that problem and allow existing applications in network namespaces
> to see the same interface that is currently presented in sysfs, this
> patch enables the tagging directory support in sysfs.
>
> By using the network namespace pointers as tags to separate out the
> the sysfs directory entries we ensure that we don't have conflicts
> in the directories and applications only see a limited set of
> the network devices.
>
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>
Acked-by: David S. Miller <davem at davemloft.net>
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list