]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commita6e213b15c274f4b8b557457a1ef79667dcb4a4f
tree44ff915510de8f7818649053458aff16855b7f8d
parentce851c69d59b6ccebe1590754c5f3bbb8af684c1
hv_netvsc: fix locking during VF setup

BugLink: http://bugs.launchpad.net/bugs/1786352
[ Upstream commit b0dee7910317f41f398838992516af6a3b981d86 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/hyperv/netvsc_drv.c