summaryrefslogtreecommitdiffstats
path: root/include/net/route.h
diff options
context:
space:
mode:
authorEric Dumazet2012-06-06 00:35:24 +0200
committerDavid S. Miller2012-06-11 05:23:20 +0200
commit83a27052c3376793bc879e00e6e6805d6fb7aab9 (patch)
tree5ee6d28233be328ac9f14ad0f0aa674a498b28d2 /include/net/route.h
parentr8169: avoid NAPI scheduling delay. (diff)
downloadkernel-qcow2-linux-83a27052c3376793bc879e00e6e6805d6fb7aab9.tar.gz
kernel-qcow2-linux-83a27052c3376793bc879e00e6e6805d6fb7aab9.tar.xz
kernel-qcow2-linux-83a27052c3376793bc879e00e6e6805d6fb7aab9.zip
virtio-net: fix a race on 32bit arches
commit 3fa2a1df909 (virtio-net: per cpu 64 bit stats (v2)) added a race on 32bit arches. We must use separate syncp for rx and tx path as they can be run at the same time on different cpus. Thus one sequence increment can be lost and readers spin forever. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Stephen Hemminger <shemminger@vyatta.com> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Jason Wang <jasowang@redhat.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/route.h')
0 files changed, 0 insertions, 0 deletions