diff options
author | Jason Wang <jasowang@redhat.com> | 2013-12-30 11:34:40 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-02 19:23:03 -0500 |
commit | 6cd4ce0099da7702f885b6fa9ebb49e3831d90b4 (patch) | |
tree | 7950381f38ef89f1fd0de690dd2ec5bccdc8b355 /net/llc/llc_if.c | |
parent | 7a7ffbabf99445704be01bff5d7e360da908cf8e (diff) |
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 <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>
Diffstat (limited to 'net/llc/llc_if.c')
0 files changed, 0 insertions, 0 deletions