summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorChristian Schmidbauer <opensource@grische.xyz>2026-11-14 14:36:37 +0100
committerPaolo Abeni <pabeni@redhat.com>2026-11-19 12:47:15 +0100
commitfcfc52fcf89a3076c3a9afbbc70c0fecd2b5fc8d (patch)
treeaf3e4485bf6d9c30f850afbb8f95d8846632089c /rust/kernel/alloc/allocator
parent952d16c5ee62cb8b5fde6ed5ec8ed6c5df77c934 (diff)
net: stmmac: honour Rx checksum errors in the AF_XDP zero-copy path
Commit ee0aace5f844 ("net: stmmac: Correctly handle Rx checksum offload errors") taught stmmac_rx() to honour the csum_none status, but stmmac_dispatch_skb_zc() still ignores it and sets CHECKSUM_UNNECESSARY for every IP frame whenever the checksum offload engine (CoE) is enabled. Since commit fe4042797651 ("net: stmmac: dwmac4: stop hardware from dropping checksum-error packets") dwmac4 delivers such frames instead of dropping them, so this path receives them. Mark the skb CHECKSUM_NONE when csum_none is set, as stmmac_rx() does. Fixes: bba2556efad6 ("net: stmmac: Enable RX via AF_XDP zero-copy") Cc: <stable@vger.kernel.org> Signed-off-by: Christian Schmidbauer <opensource@grische.xyz> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20261114133640.3285413-2-opensource@grische.xyz Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions