linux_dsm_epyc7002/drivers/net
Jason Wang 6cd4ce0099 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 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>
2014-01-02 19:23:03 -05:00
..
appletalk
arcnet
bonding bonding: protect port for bond_3ad_handle_link_change() 2013-12-18 16:52:26 -05:00
caif virtio: use size-based config accessors. 2013-10-17 10:55:37 +10:30
can can: peak_usb: fix mem leak in pcan_usb_pro_init() 2013-12-17 11:19:33 +01:00
cris
dsa
ethernet qlcnic: Fix resource allocation for TX queues 2014-01-02 17:19:12 -05:00
fddi
hamradio hamradio/yam: fix info leak in ioctl 2013-12-19 15:09:38 -05:00
hippi
hyperv hyperv: Fix race between probe and open calls 2013-12-21 22:23:06 -05:00
ieee802154 tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
irda Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
phy phy: IRQ cannot be shared 2013-12-29 22:35:16 -05:00
plip
ppp net: rework recvmsg handler msg_name and msg_namelen logic 2013-11-20 21:52:30 -05:00
slip
team team: fix master carrier set when user linkup is enabled 2013-11-29 16:34:33 -05:00
usb usbnet: mcs7830: rework link state detection 2013-12-31 16:53:51 -05:00
vmxnet3
wan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-04 13:48:30 -05:00
wimax
wireless ath9k: Fix interrupt handling for the AR9002 family 2013-12-17 13:58:25 -05:00
xen-netback xen-netback: fix guest-receive-side array sizes 2013-12-29 22:31:30 -05:00
dummy.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
eql.c
ifb.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
Kconfig
LICENSE.SRC
loopback.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
macvlan.c macvlan: fix netdev feature propagation from lower device 2013-12-26 13:41:00 -05:00
macvtap.c macvtap: signal truncated packets 2013-12-11 15:23:06 -05:00
Makefile
mdio.c
mii.c
netconsole.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-04 13:48:30 -05:00
nlmon.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c tun: unbreak truncated packet signalling 2013-12-11 15:23:06 -05:00
veth.c Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-11-14 16:30:30 +09:00
virtio_net.c virtio-net: fix refill races during restore 2014-01-02 19:23:03 -05:00
vxlan.c vxlan: release rt when found circular route 2013-12-10 22:01:54 -05:00
xen-netfront.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-19 15:50:47 -08:00