[PATCH net v2] calipso: update payload_len when removing the CALIPSO option

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri Oct 16 23:30:04 UTC 2026


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Thu, 08 Oct 2026 12:28:12 -0300 you wrote:
> calipso_skbuff_delattr() removes the CALIPSO option from the hop-by-hop
> extension header, or the whole extension header if CALIPSO is its only
> option, and pulls the skb by the removed length.  It never updates
> ipv6hdr->payload_len, so after a successful removal the header still
> claims the original length.
> 
> calipso_skbuff_setattr() already adjusts payload_len by the length it
> adds; the delete path was missed.
> 
> [...]

Here is the summary with links:
  - [net,v2] calipso: update payload_len when removing the CALIPSO option
    https://git.kernel.org/netdev/net/c/00accbd9d502

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the Linux-security-module-archive mailing list