]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netvsc: make sure napi enabled before vmbus_open
authorstephen hemminger <stephen@networkplumber.org>
Wed, 3 May 2017 23:59:21 +0000 (16:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 May 2017 15:08:36 +0000 (11:08 -0400)
commit2be0f2644598ee4b8ea0ed6a32913e1ce0212c9c
treed1fa6ad2f24c3840c1c6780254bbc95d3a01bdd9
parent5900eca1ac3bcb03cd0da1c9a5504f1fbfe9b5bc
netvsc: make sure napi enabled before vmbus_open

This fixes a race where vmbus callback for new packet arriving
could occur before NAPI is initialized.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/rndis_filter.c