Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:
On Mon, 16 Nov 2026 20:56:18 +0900 you wrote:
alloc_skb_with_frags() can fail with -ENOBUFS for a data_len that passed
its size check. Patch 1 fixes it, patch 2 adds a KUnit test.
The issues were found with the help of an AI coding assistant.
Changes in v3:
- Patch 1: check the frags left only after a failed allocation, with a
shift (Eric).
- Patch 1: say that the allocation still fails if the retry fails.
- Patch 2: skip only if MAX_SKB_FRAGS - 1 order-3 pages can't be held
at once; one page was nearly always available (netdev AI review).
- Shorter changelogs (Eric).
[...]
Here is the summary with links:
- [net,v3,1/2] net: do not run out of frags in alloc_skb_with_frags()
https://git.kernel.org/netdev/net/c/5924465bb4e9
- [net,v3,2/2] net: add a KUnit test for the alloc_skb_with_frags() tail split
https://git.kernel.org/netdev/net/c/e8c39bfac24d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html