Files
linux/drivers
Christian Schmidbauer fcfc52fcf8 net: stmmac: honour Rx checksum errors in the AF_XDP zero-copy path
Commit ee0aace5f8 ("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 fe40427976 ("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: bba2556efa ("net: stmmac: Enable RX via AF_XDP zero-copy")
Cc: <[email protected]>
Signed-off-by: Christian Schmidbauer <[email protected]>
Reviewed-by: Maxime Chevallier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
2026-11-19 12:47:15 +01:00
..
…
…
…
…
…
…
…
…
…
2026-11-10 08:03:44 -08:00
…
…
…
…
…
…
…
…