mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d64e38ae69
commit
68633edaef
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue