batadv_exit(9)
π batadv_exit(9) β the Kernel API Manual page, bestie edition
okay so you're looking at batadv_exit(9) from the Kernel API Manual, and honestly? she's the goodbye-girl of the batman-adv module. short page, big job. let's get into it π
β¨ NAME β¨
batadv_exit β the batman-adv module exit function. yes, THE exit function. the one who closes the door when the party's over. πͺπ«
β¨ SYNOPSIS β¨
void batadv_exit (void );
that's it. that's the whole signature. no cap. π«Ά
β¨ ARGUMENTS β¨
voidβ no arguments. literally zero. she takes nothing, she gives everything. π
β¨ DESCRIPTION β¨
okay so what does she actually do? two things, and both matter:
- Unregister the netdevice notifier β she takes that notifier off the list, no more callbacks, we're done here π΄
- Tear down all global state allocated by
batadv_initβ everythingbatadv_initset up, she dismantles. the full cleanup. the anti-batadv_init. π₯
ngl bestie, this is teardown code β she's undoing global state, so this is not the vibe to be calling randomly mid-operation π
β¨ SEE ALSO β¨
kernel file ./net/batman-adv/main.c plus the whole friend group:
batadv_init(9)batadv_mesh_init(9)batadv_mesh_free(9)batadv_is_my_mac(9)batadv_max_header_len(9)batadv_skb_set_priority(9)batadv_recv_unhandled_packet(9)batadv_batman_skb_recv(9)batadv_recv_handler_init(9)batadv_recv_handler_register(9)batadv_recv_handler_unregister(9)batadv_get_vid(9)batadv_vlan_ap_isola_get(9)batadv_throw_uevent(9)
like a whole group chat of functions and she's the one who logs off first ππ
sourced from ./net/batman-adv, dated October 2026, and filed under batadv_exit(9) β mwah, stay clean, stay torn down ππ
π¦ 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