batadv_hardif_neigh_release(9)
β¨ batadv_hardif_neigh_release β¨
Okay bestie, welcome to the batadv_hardif_neigh_release(9) page from the Kernel API Manual β this is the originator.c corner of batman-adv and honestly it's giving cleanup-crew energy π§Ήπ
πΈ NAME πΈ
batadv_hardif_neigh_release β the lil function that releases a hardif neigh node from its lists and queues it up to be freed after the RCU grace period π
Like, it doesn't free it right this second, okay? It drops it from the lists and then waits politely for RCU to finish before actually letting it go. Patience is a virtue, no cap β¨
π¦ SYNOPSIS π¦
void batadv_hardif_neigh_release (struct kref *ref );
Yep, that's it. One argument, void return, super chill π
π ARGUMENTS π
refβ akrefpointer to theneigh_node. That's the refcount handle for the neighbor node you're releasing, bestie π«Ά
π SEE ALSO π
So this page lives in the kernel file ./net/batman-adv/originator.c, and here's the whole friend group β every single one of these cross-refs, no skipping, periodt:
batadv_orig_hash_find(9)batadv_compare_orig(9)batadv_orig_node_vlan_get(9)batadv_vlan_id_valid(9)batadv_orig_node_vlan_new(9)batadv_orig_node_vlan_release(9)batadv_originator_init(9)batadv_neigh_ifinfo_release(9)batadv_neigh_node_release(9)batadv_orig_router_get(9)batadv_orig_to_router(9)batadv_orig_ifinfo_get(9)batadv_orig_ifinfo_new(9)batadv_neigh_ifinfo_get(9)batadv_neigh_ifinfo_new(9)batadv_neigh_node_get(9)batadv_hardif_neigh_create(9)batadv_hardif_neigh_get_or_create(9)batadv_hardif_neigh_get(9)batadv_neigh_node_create(9)batadv_neigh_node_get_or_create(9)batadv_hardif_neigh_dump(9)batadv_orig_ifinfo_release(9)batadv_orig_node_free_rcu(9)batadv_orig_node_release(9)batadv_originator_free(9)batadv_orig_node_new(9)batadv_purge_neigh_ifinfo(9)batadv_purge_orig_ifinfo(9)batadv_purge_orig_neighbors(9)batadv_find_best_neighbor(9)batadv_purge_orig_node(9)batadv_purge_orig_ref(9)batadv_purge_orig(9)batadv_orig_dump(9)
π Sign-off π
That's the whole page, bestie! This one came from ./net/batman-adv, dated October 2026, and it's the batadv_hardif_neigh_release(9) manual entry β short, sweet, and lowkey iconic for how much it does in one line πβ¨ Go forth and release 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