batadv_gw_node_release(9)
β¨ 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 π:
batadv_gw_get_selected_gw_node(9)batadv_gw_get_selected_orig(9)batadv_gw_select(9)batadv_gw_reselect(9)batadv_gw_check_client_stop(9)batadv_gw_election(9)batadv_gw_check_election(9)batadv_gw_node_add(9)batadv_gw_node_get(9)batadv_gw_node_update(9)batadv_gw_node_delete(9)batadv_gw_node_free(9)batadv_gw_dump(9)batadv_gw_dhcp_recipient_get(9)batadv_gw_out_of_range(9)
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
- 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