]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netvsc: fix net poll mode
authorstephen hemminger <stephen@networkplumber.org>
Wed, 7 Jun 2017 22:53:48 +0000 (15:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 15:45:48 +0000 (11:45 -0400)
commita5ecd43992a7cd9f91d5f98b0082ae44df5e543c
treeeaf5c83dec01b34bc96c9739ce59538c11b74cb3
parentfbd4c7e768f1719bea340e40148800279d230922
netvsc: fix net poll mode

The ndo_poll_controller function needs to schedule NAPI to pick
up arriving packets and send completions. Otherwise no data
will ever be received. For simple case of netconsole, it also
will allow send completions to happen.  Without this netpoll
will eventually get stuck.

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