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 can: netlink: can_changelink(): allow disabling of automatic restart 2025-10-20 17:20:12 +02:00
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 net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
hamradio 6pack: drop redundant locking and refcounting 2025-09-30 10:10:59 +02:00
hippi
hyperv hyperv-next for v6.18 2025-10-07 08:40:15 -07:00
ieee802154
ipa
ipvlan ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
mctp net: mctp: Fix tx queue stall 2025-10-29 17:55:14 -07:00
mdio net: mdio: Check regmap pointer returned by device_node_to_regmap() 2025-11-03 16:20:03 -08:00
netdevsim netdevsim: set the carrier when the device goes up 2025-10-15 17:43:17 -07:00
ovpn ovpn: use datagram_poll_queue for socket readiness in TCP 2025-10-23 15:46:04 +02:00
pcs net: pcs: Kconfig: Fix unmet dependency warning 2025-09-17 14:57:52 -07:00
phy net: mdio: fix resource leak in mdiobus_register_device() 2025-11-10 18:15:13 -08:00
plip
ppp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-04 13:33:00 -07:00
pse-pd net: pse-pd: tps23881: Fix current measurement scaling 2025-10-07 18:30:53 -07:00
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 vxlan: Make vxlan_fdb_find_uc() more robust against NPDs 2025-09-09 18:27:33 -07:00
wan net: wan: framer: pef2256: Switch to devm_mfd_add_devices() 2025-11-05 18:02:34 -08:00
wireguard net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
wireless wifi: iwlwifi: mld: always take beacon ies in link grading 2025-11-12 09:54:46 +02:00
wwan net: wwan: t7xx: add support for HP DRMR-H01 2025-10-06 11:10:38 -07:00
xen-netback
amt.c ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
bareudp.c
dummy.c
eql.c
geneve.c geneve: Avoid -Wflex-array-member-not-at-end warning 2025-09-11 18:49:16 -07:00
gtp.c ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
ifb.c
Kconfig wireguard: kconfig: simplify crypto kconfig selections 2025-09-08 09:44:08 -07:00
LICENSE.SRC
loopback.c
macsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-11 17:40:13 -07:00
macvlan.c net: replace use of system_unbound_wq with system_dfl_wq 2025-09-22 17:40:30 -07:00
macvtap.c
Makefile
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
Space.c
sungem_phy.c
tap.c
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-25 11:00:59 -07:00
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 ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
vsockmon.c
xen-netfront.c