batadv_hardif_neigh_put(9)
π batadv_hardif_neigh_put β the Kernel API Manual page you didn't know you needed π
okay so bestie, real talk: this is a page from the Kernel API Manual about batadv_hardif_neigh_put, and it is exactly what it sounds like β a refcounter glow-down. One put, and if nobody else is holding on? She's gone. Released. Free. β¨
πΈ NAME πΈ
batadv_hardif_neigh_put β decrement the hardif neighbors refcounter and possibly release it
like, the refcounter goes down by one, and maybe the whole thing gets freed? the "possibly" is doing so much work there, ngl π
π¦ SYNOPSIS π¦
void batadv_hardif_neigh_put (struct batadv_hardif_neigh_node
*hardif_neigh );
returns void, takes one pointer, doesn't ask questions. lowkey iconic behavior honestly π
π ARGUMENTS π
hardif_neighβ the hardif neigh neighbor to free π«Ά like, this is the one getting her refcount decremented (and, you know, the one that'll be released if it's her time)
β SEE ALSO β
okay the reading list, and it is giving kernel file: ./net/batman-adv/originator.h π plus the whole put-put-put friend group:
batadv_choose_orig(9)batadv_orig_node_vlan_put(9)batadv_neigh_ifinfo_put(9)batadv_neigh_node_put(9)batadv_orig_ifinfo_put(9)batadv_orig_node_put(9)
go read them, they're all matching-set energy π
ngl a "put" function is serious business β you're handing back a reference, and if it's the last one, the thing goes bye-bye. so likeβ¦ keep your refcounts balanced, bestie, that's the vibe check ππ
and that's the page!! π§ source/version: ./net/batman-adv, dated October 2026 β mwah, slay, no cap, batadv_hardif_neigh_put(9) out π
π
π¦ 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