diff options
author | Vlad Yasevich <vyasevic@redhat.com> | 2014-05-16 23:04:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-17 04:14:49 +0200 |
commit | d38569ab2bba6e6b3233acfc3a84cdbcfbd1f79f (patch) | |
tree | 12d0b7fb2b3fb8256c226ef09ed42a539decddf9 /net/core | |
parent | net: Allow for more then a single subclass for netif_addr_lock (diff) | |
download | linux-d38569ab2bba6e6b3233acfc3a84cdbcfbd1f79f.tar.xz linux-d38569ab2bba6e6b3233acfc3a84cdbcfbd1f79f.zip |
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>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 6ee3ac25ed72..2b872bfbd172 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -5287,7 +5287,6 @@ void __dev_set_rx_mode(struct net_device *dev) if (ops->ndo_set_rx_mode) ops->ndo_set_rx_mode(dev); } -EXPORT_SYMBOL(__dev_set_rx_mode); void dev_set_rx_mode(struct net_device *dev) { |