]> 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)
commita36930a12e3dc359d09bc7c4b10a57bfa8e2d6f7
tree12d0b7fb2b3fb8256c226ef09ed42a539decddf9
parent4a306745c79c7644ece44f35e953a59a9f774fdf
vlan: Fix lockdep warning with stacked vlan devices.

This reverts commit 0ef6115d8030f5f984a794efe81adb53b994543f.
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