skb_unlink(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so welcome to the Kernel API Manual, bestie β€” today's main character is skb_unlink(9), and she's serving β€œremove a buffer from a list” with full main-character energy. πŸ’…βœ¨

✨ NAME ✨

skb_unlink β€” remove a buffer from a list. that's the whole job, and she ate. πŸŽ€

πŸŽ€ SYNOPSIS πŸŽ€

void skb_unlink (struct sk_buff *skb , struct sk_buff_head *list );

🫢 ARGUMENTS 🫢

  • skb β€” buffer to remove. literally the packet bb you're taking out of the list. πŸ’–
  • list β€” list to use. the queue that's holding your SKB, bestie. ✨

πŸ’… DESCRIPTION πŸ’…

so this function removes a packet from a list. the list locks are taken, and this function is atomic with respect to other list locked calls β€” no cap, that's the lock vibe. πŸ”₯

you must know what list the SKB is on. like, actually know it. don't be out here guessing, bestie. 🫢

🌈 SEE ALSO 🌈

Kernel file ./net/core/skbuff.c β€” and the whole reference fam is right here, no skips, no crumbs:


mwah πŸ’– source/version vibes: ./net/core, dated October 2026, and the page is skb_unlink(9) β€” periodt. 🫢✨

πŸ“¦ where this page comes from