batadv_gw_node_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_gw_node_release(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this one's a little function with a big job, and honestly? it's giving cleanup crew main character energy πŸ’…


🌸 NAME 🌸

batadv_gw_node_release β€” release gw_node from lists and queue for free after rcu grace period 🧚

like, it lets the gw_node go from all the lists it's chilling on, then puts it in the queue to be actually freed once the RCU grace period is up. no cap, that's the whole vibe πŸ¦‹


⭐ SYNOPSIS ⭐

void batadv_gw_node_release (struct kref *ref );

literally just that. void, one argument, no drama πŸŽ€


πŸŽ€ ARGUMENTS πŸŽ€

  • ref β€” the kref pointer of the gw_node 🫢 that's the reference thingy you're handing over so it can get released.

πŸ”₯ SEE ALSO πŸ”₯

the source lives here, go peek πŸ‘€:

  • Kernel file ./net/batman-adv/gateway_client.c

and here's the whole friend group, all the related pages, no gatekeeping πŸ’œ:


ngl, rcu grace period is doing a lot of heavy lifting in that NAME line β€” just know the freeing happens after it, not instantly. that's the whole point, bestie πŸ™ˆ

and that's the page!! πŸ’– this lil guy ships out of ./net/batman-adv in October 2026, and yes batadv_gw_node_release(9) is the name, we could never forget it πŸ‘‘ slay, go release those gw_nodes responsibly ✨🌈

πŸ“¦ where this page comes from