__kfree_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __kfree_skb β€” private function

okay so this page is from the Kernel API Manual bestie, and the vibe is: internal-only, do not touch, iykyk ✨


🌸 SYNOPSIS 🌸

void __kfree_skb (struct sk_buff *skb );

πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the buffer, babe. That's it, that's the whole argument πŸ¦‹

✨ DESCRIPTION ✨

So what does it do? It frees an sk_buff. Like, releases anything attached to the buffer, and cleans the state. Full glow-up-and-leave, no crumbs left behind πŸ’…

But β€” and I need you to hear me on this β€” it's an internal helper function. It is not main character energy for you to be calling directly. Users should always call kfree_skb instead. Periodt. πŸ™ˆ

ngl this is one of those "the function is iconic but she's not for public consumption" situations 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/core/skbuff.c β€” and literally the entire skb extended universe, in order, no skips:

That's the whole friend group, no cap πŸ’€


kay bye besties, this page came out of ./net/core, dated October 2026, and it's the __kfree_skb(9) manual β€” mwah, slay, go call kfree_skb instead πŸ§šβ€β™€οΈπŸŒ·

πŸ“¦ where this page comes from