Re: [PATCH net v2 0/6] seg6: fix skb checksum updates with CHECKSUM_COMPLETE
From: patchwork-bot+netdevbpf
Date: Fri Nov 20 2026 - 19:40:27 EST
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 18 Nov 2026 16:02:45 +0100 you wrote:
> This series fixes the skb->csum updates with CHECKSUM_COMPLETE when the
> SRv6 code processes a received packet. In several places skb->csum is not
> updated correctly:
> - ipv6_srh_rcv() updates skb->csum with the wrong sign for the new
> Segments Left and destination address, and not at all for the Hop Limit
> decrement.
> - advance_nextseg() and seg6_next_csid_advance_arg() in seg6_local do
> not update skb->csum.
> - The End.BPF program and seg6_bpf_has_valid_srh() can change the
> packet without updating skb->csum.
> - In L2ENCAP and L2ENCAP_RED mode, the MAC header put back in front of
> the frame is not added to skb->csum.
>
> [...]
Here is the summary with links:
- [net,v2,1/6] seg6: fix skb checksum update helpers
https://git.kernel.org/netdev/net-next/c/47b2998b644c
- [net,v2,2/6] seg6: update skb checksum when ipv6_srh_rcv() decrements the Hop Limit
https://git.kernel.org/netdev/net-next/c/47f89dfc930b
- [net,v2,3/6] seg6: update skb checksum when SRv6 behaviors advance to the next SID
https://git.kernel.org/netdev/net-next/c/520989b4d32a
- [net,v2,4/6] seg6: discard CHECKSUM_COMPLETE after the End.BPF program
https://git.kernel.org/netdev/net-next/c/53e0a84a417d
- [net,v2,5/6] seg6: account for the MAC header in skb checksum on L2 encapsulation
https://git.kernel.org/netdev/net-next/c/e75bae5fcf5a
- [net,v2,6/6] selftests: seg6: add test for skb checksum with CHECKSUM_COMPLETE
https://git.kernel.org/netdev/net-next/c/612a37673567
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html