Thread (5 messages) 5 messages, 5 authors, 13d ago

Re: [PATCH v2 net] net: skbuff: do not leave stale header offsets after pskb_carve()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-17 14:11:12

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni [off-list ref]:

On Tue, 15 Sep 2026 13:04:23 +0000 you wrote:
pskb_carve_inside_header() and pskb_carve_inside_nonlinear() remove
the first bytes of a packet and reallocate skb->head.

All the headers that were present before the operation are gone,
but both functions call skb_headers_offset_update(skb, 0), which
is a no-op : skb->mac_header, skb->network_header,
skb->transport_header and skb->csum_start keep their old values and
now describe bytes which are no longer there.

[...]
Here is the summary with links:
  - [v2,net] net: skbuff: do not leave stale header offsets after pskb_carve()
    https://git.kernel.org/netdev/net/c/a5117e1eccac

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help