summaryrefslogtreecommitdiff
path: root/net/llc
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-12-30 03:34:40 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-15 23:31:38 (GMT)
commit4e18f0b53730ef56fa16e271d4971611f6a95ed9 (patch)
tree8f039656b3335d8a25ca2a9be76ae0ca9a648fd7 /net/llc
parentb21d217ce4403082908511d0296ee854f30a8014 (diff)
downloadlinux-fsl-qoriq-4e18f0b53730ef56fa16e271d4971611f6a95ed9.tar.xz
virtio-net: fix refill races during restore
[ Upstream commit 6cd4ce0099da7702f885b6fa9ebb49e3831d90b4 ] During restoring, try_fill_recv() was called with neither napi lock nor napi disabled. This can lead two try_fill_recv() was called in the same time. Fix this by refilling before trying to enable napi. Fixes 0741bcb5584f9e2390ae6261573c4de8314999f2 (virtio: net: Add freeze, restore handlers to support S4). Cc: Amit Shah <amit.shah@redhat.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions