mirror-linux/drivers/net
Xuan Zhuo 0eff2eaa53 virtio-net: fix incorrect flags recording in big mode
The purpose of commit 703eec1b24 ("virtio_net: fixing XDP for fully
checksummed packets handling") is to record the flags in advance, as
their value may be overwritten in the XDP case. However, the flags
recorded under big mode are incorrect, because in big mode, the passed
buf does not point to the rx buffer, but rather to the page of the
submitted buffer. This commit fixes this issue.

For the small mode, the commit c11a49d58a ("virtio_net: Fix mismatched
buf address when unmapping for small packets") fixed it.

Tested-by: Alyssa Ross <hi@alyssa.is>
Fixes: 703eec1b24 ("virtio_net: fixing XDP for fully checksummed packets handling")
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://patch.msgid.link/20251111090828.23186-1-xuanzhuo@linux.alibaba.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-11-13 13:16:30 +01:00
..
arcnet
bonding bonding: fix mii_status when slave is down 2025-11-10 17:51:30 -08:00
caif
can
dsa net: dsa: microchip: Fix reserved multicast address table programming 2025-11-06 07:11:36 -08:00
ethernet mlx5: Fix default values in create CQ 2025-11-11 15:12:18 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan
mctp
mdio net: mdio: Check regmap pointer returned by device_node_to_regmap() 2025-11-03 16:20:03 -08:00
netdevsim
ovpn
pcs
phy net: mdio: fix resource leak in mdiobus_register_device() 2025-11-10 18:15:13 -08:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb net: usb: qmi_wwan: initialize MAC header offset in qmimux_rx_fixup 2025-11-03 17:36:49 -08:00
vmxnet3
vxlan
wan net: wan: framer: pef2256: Switch to devm_mfd_add_devices() 2025-11-05 18:02:34 -08:00
wireguard
wireless wifi: iwlwifi: mld: always take beacon ies in link grading 2025-11-12 09:54:46 +02:00
wwan
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c netconsole: Acquire su_mutex before navigating configs hierarchy 2025-10-31 17:45:06 -07:00
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sungem_phy.c
tap.c
tun.c
tun_vnet.h
veth.c
virtio_net.c virtio-net: fix incorrect flags recording in big mode 2025-11-13 13:16:30 +01:00
vrf.c
vsockmon.c
xen-netfront.c