aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2013-12-30 03:34:40 +0000
committerDavid S. Miller <[email protected]>2014-01-03 00:23:03 +0000
commit6cd4ce0099da7702f885b6fa9ebb49e3831d90b4 (patch)
tree7950381f38ef89f1fd0de690dd2ec5bccdc8b355 /drivers/net/xen-netback/interface.c
parentipv4: fix tunneled VM traffic over hw VXLAN/GRE GSO NIC (diff)
downloadkernel-6cd4ce0099da7702f885b6fa9ebb49e3831d90b4.tar.gz
kernel-6cd4ce0099da7702f885b6fa9ebb49e3831d90b4.zip
virtio-net: fix refill races during restore
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 <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Cc: Eric Dumazet <[email protected]> Signed-off-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions