Files
linux/drivers/net
Jason Wang 6a0827c405 virtio-net: fix refill races during restore
[ Upstream commit 6cd4ce0099 ]

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 0741bcb558
(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>
2014-01-15 15:28:50 -08:00
..
2013-08-11 18:35:25 -07:00
2013-03-28 01:20:42 -04:00
2013-11-04 04:31:04 -08:00
2013-03-26 12:27:18 -04:00
2013-09-14 06:54:54 -07:00
2014-01-15 15:28:46 -08:00
2014-01-15 15:28:46 -08:00