skb_head_is_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– skb_head_is_locked(9) β€” Kernel API Manual bestie check πŸŽ€

🌸 NAME 🌸

skb_head_is_locked β€” determine if the skb->head is locked down πŸ’…


✨ SYNOPSIS ✨

bool skb_head_is_locked (const struct sk_buff *skb );

🫢 ARGUMENTS 🫢

  • skb β€” the skb to check. That’s literally the whole assignment, bestie 😌

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the lore: the head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head. no cap, that’s the vibe check πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

the whole skb extended universe is here, fr fr:


πŸ’Œ cute sign-off: source/version is ./include/linux, date stamp says October 2026, and this manual entry is skb_head_is_locked(9). now go forth and vibe-check those skb heads, bestie πŸ’–

πŸ“¦ where this page comes from