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

No differences found