Files
erofs-linux/net/core
Jakub Kicinski 8d89661a36 net: selftests: fix TCP packet checksum
The length in the pseudo header should be the length of the L3 payload
AKA the L4 header+payload. The selftest code builds the packet from
the lower layers up, so all the headers are pushed already when it
constructs L4. We need to subtract the lower layer headers from skb->len.

Fixes: 3e1e58d64c ("net: add generic selftest support")
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Gerhard Engleder <[email protected]>
Reported-by: Oleksij Rempel <[email protected]>
Tested-by: Oleksij Rempel <[email protected]>
Reviewed-by: Oleksij Rempel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
2025-06-26 10:50:49 +02:00
..
2025-04-09 17:01:51 -07:00
…
…
…
…
2025-02-17 16:43:04 -08:00
2025-04-11 18:58:10 -07:00
2025-04-11 18:58:10 -07:00
…
…