diff options
author | Sathya Perla | 2010-03-02 12:56:39 +0100 |
---|---|---|
committer | David S. Miller | 2010-03-02 12:56:39 +0100 |
commit | f31e50a802baae939c49819b8acd8f077019d398 (patch) | |
tree | f9bb9e3950933db922a4ce814d7ac281569778f1 /drivers/net/virtio_net.c | |
parent | sis190: fix cable detect via link status poll (diff) | |
download | kernel-qcow2-linux-f31e50a802baae939c49819b8acd8f077019d398.tar.gz kernel-qcow2-linux-f31e50a802baae939c49819b8acd8f077019d398.tar.xz kernel-qcow2-linux-f31e50a802baae939c49819b8acd8f077019d398.zip |
be2net: fix tx completion polling
In tx/mcc polling, napi_complete() is being incorrectly called
before reaping tx completions. This can cause tx compl processing
to be scheduled on another cpu concurrently which can result in a panic.
This if fixed by calling napi complete() after tx/mcc compl processing
but before re-enabling interrupts (via a cq notify).
Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions