batadv_frag_clear_chain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_frag_clear_chain(9) πŸ’…

okay bestie so this is the batadv_frag_clear_chain page from the Kernel API Manual β€” yes, that Kernel API Manual, the one we all live in 🫢 today's topic: wiping out a whole chain of fragments in one go. it's giving cleanup crew energy, fr fr ✨


🌸 NAME 🌸

batadv_frag_clear_chain β€” delete entries in the fragment buffer chain πŸ—‘οΈπŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

void batadv_frag_clear_chain (struct hlist_head *head , bool dropped );

look at her. simple, iconic, no cap πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • head β€” the head of the chain, like the girl at the front of the line who somehow knows everybody πŸ’… it's the one holding the entries.
  • dropped β€” a bool that says why we're clearing this chain: is it because all the fragments are getting dropped? πŸ™ˆ that's the whole vibe check of this argument.

✨ DESCRIPTION ✨

so basically: this frees the fragments living in the hlist you passed in πŸ§šβ€β™€οΈβœ¨

🚨 LOCK WARNING, FR FR β€” you have to call this with the appropriate lock. it's not optional, it's not a suggestion, it's the rule 😭 don't be the one who skips the lock and makes the kernel sad πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./net/batman-adv/fragmentation.c β€” the mothership 🌈 and obviously her whole friend group:

all of them. every single one. main character energy across the board, periodt πŸ’…πŸ”₯


mwah πŸ’œ this page comes to you from ./net/batman-adv, dated October 2026 β€” she's from the future and she's still clearing chains. slay. πŸŽ€βœ¨

πŸ“¦ where this page comes from