]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: Fix lockdep warning with stacked vlan devices.
authorVlad Yasevich <vyasevic@redhat.com>
Fri, 16 May 2014 21:04:55 +0000 (17:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2014 02:14:49 +0000 (22:14 -0400)
commit3fba5d8924dbf0d5cc41803e35160ef6668c3b42
tree12d0b7fb2b3fb8256c226ef09ed42a539decddf9
parent61d9006d9a7c3171d8e9ec98957be8e8a0cffdad
vlan: Fix lockdep warning with stacked vlan devices.

This reverts commit a35767c552ff25daef8620ec4f327c05cbcc4cbc.
vlan: Fix lockdep warning when vlan dev handle notification

Instead we use the new new API to find the lock subclass of
our vlan device.  This way we can support configurations where
vlans are interspersed with other devices:
  bond -> vlan -> macvlan -> vlan

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
net/8021q/vlan.c
net/8021q/vlan_dev.c
net/core/dev.c