batadv_hardif_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_hardif_release(9) β€” the kernel API glow-up

okay so this is a Kernel API Manual page, and honestly? it's a whole vibe. it lives in the batman-adv world, and today we're talking about batadv_hardif_release β€” the function that lets a hard interface go. bestie, it's the breakup function. it untangles the hard interface from all its lists and then... queues it up to actually be freed later, after an RCU grace period. iconic behavior, ngl.


🌸 NAME 🌸

batadv_hardif_release β€” release hard interface from lists and queue for free after rcu grace period

like, it takes the hard interface off the lists (no more hanging out with the other interfaces ✌️) and puts it in line to get freed once the rcu grace period has passed. sitting in the waiting room, basically. πŸŽ€


✨ SYNOPSIS ✨

void batadv_hardif_release (struct kref *ref );

that's the whole signature, no cap. returns void β€” nothing comes back, it just does the thing. πŸ¦‹


πŸ’– ARGUMENTS πŸ’–

  • ref β€” kref pointer of the hard interface. that's it, that's the one argument. it's the struct kref * pointing at the hard interface you're releasing. 🫢

πŸŽ€ SEE ALSO πŸŽ€

okay this section is a lot and we love her for it. so many siblings:

yeah. that's the whole friend group. take your time. πŸ’€


πŸ’œ tiny reminder bestie: the freeing doesn't happen instantly β€” it's after the rcu grace period. don't go touching it before then, iykyk.

and that's the page!! 🌈 written for the Kernel API Manual, straight out of the ./net/batman-adv directory 🧚, dated October 2026, and yeah the header/footer both say batadv_hardif_release(9) because consistency is the moment. mwah πŸ’…β­

πŸ“¦ where this page comes from