Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300310
b: refs/heads/master
c: ec13ee8
h: refs/heads/master
v: v3
  • Loading branch information
Michael S. Tsirkin committed May 17, 2012
1 parent 3fab463 commit 2132d5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8ae0eb320b38415da94a41f75e9f99e0aaff06c
refs/heads/master: ec13ee80145ccb95b00e6e610044bbd94a170051
2 changes: 2 additions & 0 deletions trunk/drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,9 @@ static void virtnet_napi_enable(struct virtnet_info *vi)
* We synchronize against interrupts via NAPI_STATE_SCHED */
if (napi_schedule_prep(&vi->napi)) {
virtqueue_disable_cb(vi->rvq);
local_bh_disable();
__napi_schedule(&vi->napi);
local_bh_enable();
}
}

Expand Down

0 comments on commit 2132d5d

Please sign in to comment.