skb_panic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… skb_panic β€” Kernel API Manual, but make it a group chat

okay bestie, welcome to the skb_panic(9) page ✨ this is a Kernel API Manual moment, and honestly it's a short one, so let's get into it πŸŽ€


🌸 NAME 🌸

skb_panic β€” a private function, for out-of-line support 🫢 (yes it literally says "private", she's mysterious, she's lowkey, she's not for you directly iykyk πŸ’…)


✨ SYNOPSIS ✨

void skb_panic (struct sk_buff *skb , unsigned int sz , void *addr ,
       const char msg[] );

that's the whole signature, no cap πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” the buffer 🧺
  • sz β€” the size πŸ“
  • addr β€” the address πŸ“
  • msg β€” this one's giving skb_over_panic or skb_under_panic πŸ’€ (those are literally the only two vibes)

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea β˜• skb_panic is the out-of-line support squad for skb_put and skb_push 🫢 she gets called via the wrapper skb_over_panic or skb_under_panic, like she's the main character and those two are her stylists πŸ’…

The way she stays out of line is deliberate β€” it's to prevent kernel bloat πŸ™ˆβœ¨ iconic behaviour honestly, she's keeping the kernel snatched.

And ngl, __builtin_return_address is not used here, because it is not always reliable 😭 so don't come for her about it, she has her reasons fr fr.


🌈 SEE ALSO 🌈

Kernel file ./net/core/skbuff.c β€” and then the whole extended friend group, in exactly this order, no skipping, we love a complete list πŸ“:

like, that's the entire skb cinematic universe, ate and left no crumbs πŸ’–


πŸ’€ reminder: skb_panic is private, so this is a backstage-pass situation, not a "call her from your driver" situation, bestie πŸ™ˆ

and that's the page!! huge shoutout to ./net/core for shipping this one in October 2026, version skb_panic(9) πŸ§šπŸ’œ mwah, see u in the next manpage 🫢✨

πŸ“¦ where this page comes from