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

In case a qdisc is used on a ipvlan 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/ipvlan/ipvlan_main.c