skb_frag_ref(9)
π skb_frag_ref β like, the kernel API manual, section 9 btw π
okay so bestie, welcome to skb_frag_ref(9) β yes that's the manual section, we're in the big-kid kernel docs now, main character energy only β¨
π¦ NAME π¦
skb_frag_ref β takes an addition reference on a paged fragment of an skb. that's it, that's the whole vibe π
(yes, the original really says "addition", not "additional" β we respect the lore π«Ά)
β¨ SYNOPSIS β¨
void skb_frag_ref (struct sk_buff *skb , int f );
literally the whole signature, no cap. it returns void, so don't go looking for a return value, there isn't one πΈ
π ARGUMENTS π
skbβ the buffer π§fβ the fragment offset.
π₯ DESCRIPTION π₯
so what it actually does: it takes an additional reference on the f'th paged fragment of skb. that's the entire plot, and honestly? it ate ππ
like, you point at fragment number f inside skb and you're like "mine now, also mine again" and the refcount goes up. iconic behavior, no notes π
π SEE ALSO π
- Kernel file
./include/linux/skbuff_ref.h:
the friend group fr fr β go say hi to the unref girlies, iykyk π
ngl the file lives in ./include/linux and the page is dated October 2026, so bestie it's giving future-core π¦β anyway bye, ily, go ref some fragments π
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms