diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-03-02 22:49:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-05 04:18:20 +0100 |
commit | 68633edaef655ce94e51088ecef5dd4e1d2f6f34 (patch) | |
tree | 2ce8a820f26389fd706dda53f1401d89559207f4 /drivers/net | |
parent | hv_netvsc: fix race in napi poll when rescheduling (diff) | |
download | linux-68633edaef655ce94e51088ecef5dd4e1d2f6f34.tar.xz linux-68633edaef655ce94e51088ecef5dd4e1d2f6f34.zip |
hv_netvsc: use napi_schedule_irqoff
Since the netvsc_channel_cb is already called in interrupt
context from vmbus, there is no need to do irqsave/restore.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/hyperv/netvsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 4237cedc4f08..0265d703eb03 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c @@ -1233,7 +1233,7 @@ void netvsc_channel_cb(void *context) /* disable interupts from host */ hv_begin_read(rbi); - __napi_schedule(&nvchan->napi); + __napi_schedule_irqoff(&nvchan->napi); } } |