diff options
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index af8acc85f4bb..cbefe671bcc6 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c | |||
@@ -492,7 +492,9 @@ static void virtnet_napi_enable(struct virtnet_info *vi) | |||
492 | * We synchronize against interrupts via NAPI_STATE_SCHED */ | 492 | * We synchronize against interrupts via NAPI_STATE_SCHED */ |
493 | if (napi_schedule_prep(&vi->napi)) { | 493 | if (napi_schedule_prep(&vi->napi)) { |
494 | virtqueue_disable_cb(vi->rvq); | 494 | virtqueue_disable_cb(vi->rvq); |
495 | local_bh_disable(); | ||
495 | __napi_schedule(&vi->napi); | 496 | __napi_schedule(&vi->napi); |
497 | local_bh_enable(); | ||
496 | } | 498 | } |
497 | } | 499 | } |
498 | 500 | ||