Re: [PATCH net v1] net: netmem: fix skb_ensure_writable with unreadable skbs

From: patchwork-bot+netdevbpf
Date: Tue Jun 17 2025 - 19:00:35 EST


Hello:

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

On Sun, 15 Jun 2025 20:07:33 +0000 you wrote:
> skb_ensure_writable should succeed when it's trying to write to the
> header of the unreadable skbs, so it doesn't need an unconditional
> skb_frags_readable check. The preceding pskb_may_pull() call will
> succeed if write_len is within the head and fail if we're trying to
> write to the unreadable payload, so we don't need an additional check.
>
> Removing this check restores DSCP functionality with unreadable skbs as
> it's called from dscp_tg.
>
> [...]

Here is the summary with links:
- [net,v1] net: netmem: fix skb_ensure_writable with unreadable skbs
https://git.kernel.org/netdev/net/c/6f793a1d0537

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