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)
commitd38569ab2bba6e6b3233acfc3a84cdbcfbd1f79f
tree12d0b7fb2b3fb8256c226ef09ed42a539decddf9
parent25175ba5c9bff9aaf0229df34bb5d54c81633ec3
vlan: Fix lockdep warning with stacked vlan devices.

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