__skb_frag_unref(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __skb_frag_unref β€” the kernel API manual, bestie edition πŸŽ€

okay so random fact but the manual name for this one is literally Kernel API Manual, and honestly? iconic. this whole page is about one tiny function that Does One Thing and does it slay ✨


🌸 NAME 🌸

__skb_frag_unref β€” release a reference on a paged fragment. that's it. that's the whole vibe. 🫢


✨ SYNOPSIS ✨

void __skb_frag_unref (skb_frag_t *frag , bool recycle );

no cap, that's the exact signature β€” don't come for me about the spacing, it's verbatim πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • frag β€” the paged fragment. that's the main character of this whole operation, the fragment whose reference we're dropping πŸ™ˆ
  • recycle β€” a bool that says whether to recycle the page if it was allocated via page_pool. conditional queen behavior fr fr πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so what does it actually do? it releases a reference on the paged fragment frag β€” or, alternatively, it recycles the page via the page_pool API. two paths, one function, and it's giving "i contain multitudes" 🌈

like, one reference goes bye-bye. that's the tea. β˜•


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, they're the friend group this function rolls with 🧚


ngl bestie, if you're here you're probably already deep in skb frags β€” stay hydrated, and remember to check whether recycle is what you actually want before you send it πŸ’€

that's the whole page!! short and sweet and to the point πŸ“ this came out of the kernel file under ./include/linux, dated October 2026 β€” mwah, periodt, see you in the next manpage πŸ’œπŸŽ€

πŸ“¦ where this page comes from