net: macvlan: call netdev_lockdep_set_classes()
authorEric Dumazet <edumazet@google.com>
Thu, 9 Jun 2016 14:45:14 +0000 (07:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jun 2016 20:28:37 +0000 (13:28 -0700)
commit24ffd752007fb04e8efb560029c6076f6f3c0c5e
tree060e8417cf049656f6482796332e84f446c982e2
parent78e7a2ae872770e5f26bf794b97b7b8e3e30ccfd
net: macvlan: call netdev_lockdep_set_classes()

In case a qdisc is used on a macvlan device, we need to use different
lockdep classes to avoid false positives.

Use the new netdev_lockdep_set_classes() generic helper.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c