Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni [off-list ref]:
On Wed, 8 Jul 2026 13:54:54 +0800 you wrote:
From: Yun Lu <redacted>
Commit 98d0912e9f84 ("net: skbuff: fix missing zerocopy reference in
pskb_carve helpers") introduced two calls of net_zcopy_get(skb_zcopy(skb)).
In fact, skb_zcopy() has already been executed once before. When calling
net_zcopy_get(), skb_zcopy() always returns skb_uarg(skb), which results
in adding some unnecessary instructions in skb_zcopy. So, change these
two calls to directly use skb_uarg(skb) instead of skb_zcopy.
[...]
Here is the summary with links:
- [net-next,v2] net: skbuff: optimization of net_zcopy_get() call in pskb_carve helpers
https://git.kernel.org/netdev/net-next/c/b9ecdfda4d48
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html