Re: [PATCH net v10] skb_expand_head() adjust skb->truesize incorrectly

From: patchwork-bot+netdevbpf
Date: Fri Oct 22 2021 - 16:50:57 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Fri, 22 Oct 2021 13:28:37 +0300 you wrote:
> Christoph Paasch reports [1] about incorrect skb->truesize
> after skb_expand_head() call in ip6_xmit.
> This may happen because of two reasons:
> - skb_set_owner_w() for newly cloned skb is called too early,
> before pskb_expand_head() where truesize is adjusted for (!skb-sk) case.
> - pskb_expand_head() does not adjust truesize in (skb->sk) case.
> In this case sk->sk_wmem_alloc should be adjusted too.
>
> [...]

Here is the summary with links:
- [net,v10] skb_expand_head() adjust skb->truesize incorrectly
https://git.kernel.org/netdev/net/c/7f678def99d2

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