diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2010-05-16 21:59:45 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 09:37:32 -0700 |
commit | d6523ddf2376f39eaa89a4d68a33052d20c138b9 (patch) | |
tree | 8ab1d869e20e06be0c1e081d717f33f41d3502ca /net/netlink | |
parent | 608b4b9548dedf4185ca47edcaae4bff2ceb62de (diff) | |
download | kernel_samsung_aries-d6523ddf2376f39eaa89a4d68a33052d20c138b9.zip kernel_samsung_aries-d6523ddf2376f39eaa89a4d68a33052d20c138b9.tar.gz kernel_samsung_aries-d6523ddf2376f39eaa89a4d68a33052d20c138b9.tar.bz2 |
net/sysfs: Fix the bitrot in network device kobject namespace support
I had a couple of stupid bugs in:
netns: Teach network device kobjects which namespace they are in.
- I duplicated the Kconfig for the NET_NS
- The build was broken when sysfs was not compiled in
The sysfs breakage is because after I moved the operations
for the sysfs to the kobject layer, to make things cleaner
I forgot to move the ifdefs. Opps.
I'm not quite certain how I got introduced a second NET_NS Kconfig,
but it was probably a 3 way merge somewhere along the way that
did not notice that the NET_NS Kconfig option had mvoed and thout
that was a bug. It probably slipped in because it used to be the
sysfs patches were the first patches in my network namespace patches.
Some things just don't go like you would expect.
Neither of these bugs actually affect anything in the common case
but they should be fixed.
Thanks to Serge for noticing they were present.
Reported-by: Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Acked-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions