]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hv_netvsc: fix locking during VF setup
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 7 Mar 2018 21:49:12 +0000 (13:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 17:48:57 +0000 (12:48 -0500)
commitb0dee7910317f41f398838992516af6a3b981d86
treed8bb32f9c86acf62b0970d6ab20354562993714c
parent35a57b7fef136fa3d5b735ba773f191b95110fa0
hv_netvsc: fix locking during VF setup

The dev_uc/mc_sync calls need to have the device address list
locked. This was spotted by running with lockdep enabled.

Fixes: bee9d41b37ea ("hv_netvsc: propagate rx filters to VF")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c