batadv_orig_node_free_rcu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_orig_node_free_rcu(9) β€” the Kernel API Manual, but make it make sense

okay so bestie, we're in the Kernel API Manual today and this one is a whole function page, not your usual command-line situation. no flags, no --help, just one little function doing one little job. and honestly? she ate. πŸŽ€


✨ NAME ✨

batadv_orig_node_free_rcu β€” free the orig_node

that's it. that's the job. she frees the orig_node. no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void batadv_orig_node_free_rcu (struct rcu_head *rcu );

so the way this works: it returns void (nothing back, she's not texting you after), and she takes exactly one argument. iconic minimalism, honestly. ✨


🌸 ARGUMENTS 🌸

  • rcu β€” the rcu pointer of the orig_node. like, it's the rcu pointer belonging to the orig_node. that's the whole vibe. she needs the pointer, she gets the pointer, she frees the thing. 🫢

🧚 SEE ALSO 🧚

okay this is the part where the page just goes off β€” there are SO many siblings, and we're listing them all, because every one of them is part of the family, and we do not leave a cousin out. πŸ’–

Kernel file ./net/batman-adv/originator.c, plus:

like... the whole originator friend group showed up. get, new, release, purge, dump β€” it's giving full lifecycle. iykyk. 🌈


lowkey a note: batadv_orig_node_free_rcu is an RCU callback kinda situation. the name literally has _rcu in it. that's the whole point of the parameter. bestie, just pass her the rcu pointer of the orig_node and let her cook. πŸ“

and that's the page!! short, sweet, one argument, one job, zero drama. main character energy for a callback function, honestly. πŸ‘‘

πŸ’– thanks for reading, mwah πŸ’–

from ./net/batman-adv, dated October 2026 β€” signed, sealed, shipped, periodt. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from