]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[VLAN]: Proc entry is not renamed when vlan device name changes.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 2 Apr 2008 07:08:01 +0000 (00:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Apr 2008 07:08:01 +0000 (00:08 -0700)
commit802fb176d8c635ae42da31b80841c26e8c7338a0
tree3f0a1283ca650868fd41942fb13e5ada129788c7
parentf32c5f2c3866bf4d932d2bc42216dafb90a50ab7
[VLAN]: Proc entry is not renamed when vlan device name changes.

This may lead to situations, when each of two proc entries produce
data for the other's device.

Looks like a BUG, so this patch is for net-2.6. It will not apply to
net-2.6.26 since dev->nd_net access is replaced with dev_net(dev)
one.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c
net/8021q/vlan.h
net/8021q/vlanproc.c