[VLAN]: nested VLAN: fix lockdep's recursive locking warning
commit0fe1e567d0b4f6a98e94d3b9a40f41c801bd157f
authorJarek Poplawski <jarkao2@gmail.com>
Fri, 11 Jan 2008 06:38:31 +0000 (10 22:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jan 2008 06:38:31 +0000 (10 22:38 -0800)
tree347b3c1dde2bf56d6b1c24d33e0a1dc05977bc55
parent0d89d7944fead211422e21fb7ea70ed3b903a79e
[VLAN]: nested VLAN: fix lockdep's recursive locking warning

Allow vlans nesting other vlans without lockdep's warnings (max. 2 levels
i.e. parent + child). Thanks to Patrick McHardy for pointing a bug in the
first version of this patch.

Reported-by: Benny Amorsen
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c