batadv_frag_clear_chain(9)
π 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β aboolthat 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:
batadv_frag_purge_orig(9)batadv_frag_size_limit(9)batadv_frag_init_chain(9)batadv_frag_insert_packet(9)batadv_frag_merge_packets(9)batadv_skb_is_frag(9)batadv_frag_skb_buffer(9)batadv_frag_skb_fwd(9)batadv_frag_create(9)batadv_frag_send_packet(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms