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

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

Use the new netdev_lockdep_set_classes() generic helper.

Reported-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Tested-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c