Files
linux/drivers
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-12-08 07:29:25 -08:00
2013-12-04 10:57:19 -08:00
2014-01-09 12:24:21 -08:00
2014-01-09 12:24:22 -08:00
2013-12-20 07:45:11 -08:00
2013-12-11 22:36:28 -08:00
2014-01-09 12:24:20 -08:00
2013-06-05 08:54:16 -06:00
2013-12-20 07:45:11 -08:00