Skip to content

Commit c039c53

Browse files
shemmingergregkh
authored andcommitted
hv_netvsc: use napi_schedule_irqoff
[ Upstream commit 68633ed ] 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 <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5f8156f commit c039c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/hyperv/netvsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ void netvsc_channel_cb(void *context)
12611261
/* disable interupts from host */
12621262
hv_begin_read(rbi);
12631263

1264-
__napi_schedule(&nvchan->napi);
1264+
__napi_schedule_irqoff(&nvchan->napi);
12651265
}
12661266
}
12671267

0 commit comments

Comments
 (0)