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

Re: [PATCH net-next v2] net: skbuff: optimization of net_zcopy_get() call in pskb_carve helpers

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-21 09:50:36

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

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