Michael S. Tsirkin
496bcc8d4f
virtio_net: move tx vq operation under tx queue lock
...
[ Upstream commit 5a2f966d0f3fa0ef6dada7ab9eda74cacee96b8a ]
It's unsafe to operate a vq from multiple threads.
Unfortunately this is exactly what we do when invoking
clean tx poll from rx napi.
Same happens with napi-tx even without the
opportunistic cleaning from the receive interrupt: that races
with processing the vq in start_xmit.
As a fix move everything that deals with the vq to under tx lock.
Fixes: b92f1e6751 ("virtio-net: transmit napi")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:10:50 +02:00
..
appletalk
net: appletalk: cops: Fix data race in cops_probe1
2021-06-16 11:59:36 +02:00
arcnet
bonding
bonding: init notify_work earlier to avoid uninitialized use
2021-06-16 11:59:34 +02:00
caif
net: caif: fix memory leak in ldisc_open
2021-06-30 08:47:47 -04:00
can
can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
2021-07-14 16:53:04 +02:00
dsa
net: dsa: microchip: enable phy errata workaround on 9567
2021-06-16 11:59:36 +02:00
ethernet
net: moxa: Use devm_platform_get_and_ioremap_resource()
2021-07-20 16:10:40 +02:00
fddi
FDDI: defxx: Make MMIO the configuration default except for EISA
2021-05-19 10:08:32 +02:00
fjes
fjes: check return value after calling platform_get_resource()
2021-07-19 08:53:10 +02:00
hamradio
net: hamradio: fix memory leak in mkiss_close
2021-06-23 14:41:26 +02:00
hippi
hyperv
ieee802154
ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
2021-07-14 16:53:32 +02:00
ipvlan
netdevsim
netdevsim: init u64 stats for 32bit hardware
2021-03-17 17:03:35 +01:00
phy
net: phy: dp83867: perform soft reset and retain established link
2021-06-30 08:47:47 -04:00
plip
ppp
slip
team
usb
r8152: Avoid memcpy() over-reading of ETH_SS_STATS
2021-06-30 08:47:48 -04:00
vmxnet3
wan
net: lapbether: Prevent racing when checking whether the netif is running
2021-05-14 09:44:26 +02:00
wimax
staging: wimax/i2400m: fix byte-order issue
2021-05-11 14:04:05 +02:00
wireless
iwlwifi: pcie: fix context info freeing
2021-07-19 08:53:12 +02:00
xen-netback
xen-netback: Check for hotplug-status existence before watching
2021-04-28 13:19:15 +02:00
dummy.c
eql.c
geneve.c
net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
2021-05-14 09:44:31 +02:00
gtp.c
net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
2021-03-04 10:26:53 +01:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
net: fix dev_ifsioc_locked() race condition
2021-03-07 12:20:43 +01:00
thunderbolt.c
tun.c
net: tun: set tun->dev->addr_len during TUNSETLINK processing
2021-04-14 08:24:18 +02:00
veth.c
veth: Store queue_mapping independently of XDP prog presence
2021-03-30 14:35:24 +02:00
virtio_net.c
virtio_net: move tx vq operation under tx queue lock
2021-07-20 16:10:50 +02:00
vrf.c
vrf: do not push non-ND strict packets with a source LLA through packet taps again
2021-07-14 16:53:31 +02:00
vsockmon.c
vxlan.c
vxlan: add missing rcu_read_lock() in neigh_reduce()
2021-07-14 16:53:31 +02:00
xen-netfront.c