Re: [PATCH net] virtio-net: fix refill races during restore

2014-01-02 Thread David Miller
From: Jason Wang Date: Mon, 30 Dec 2013 11:34:40 +0800 > 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 0741bcb5584f9e2390ae626

[PATCH net] virtio-net: fix refill races during restore

2013-12-29 Thread Jason Wang
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 sup