summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorSathya Perla2010-03-02 12:56:39 +0100
committerDavid S. Miller2010-03-02 12:56:39 +0100
commitf31e50a802baae939c49819b8acd8f077019d398 (patch)
treef9bb9e3950933db922a4ce814d7ac281569778f1 /drivers/net/virtio_net.c
parentsis190: fix cable detect via link status poll (diff)
downloadkernel-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