batadv_forw_...et_list_free(9)
π batadv_forw_packet_list_free β Kernel API Manual β¨
okay so bestie, welcome to the glow-up era of batadv_forw_...et_list_free(9) π this is the kernel API manual page, and we're gonna get you so comfy with it. no cap.
πΈ NAME πΈ
batadv_forw_packet_list_free β free a list of forward packets. that's it. that's the whole job. and she does it beautifully π
β¨ SYNOPSIS β¨
void batadv_forw_packet_list_free (struct hlist_head *head );
literally just one argument, we love a low-maintenance icon π
π¦ ARGUMENTS π¦
headβ a list of to be freedforw_packets. yes, the whole list. she's taking the entire friend group with her on the way out π«Ά
π DESCRIPTION π
so here's the tea β this function does three things in a very specific order, and honestly? the way she handles it is giving main character energy:
first, she cancels the scheduling of any packet in the provided list. bye bestie, you're not going out today π
then she waits for any possibly running packet forwarding thread to finish. patient queen. she's not gonna yank the rug out from under anything mid-flight π
and finally, she safely frees this forward packet. closure. slay. periodt.
β οΈ okay important heads up: this function might sleep. so like, don't call it somewhere where sleeping is not allowed β she needs her nap and she's not sorry about it π
π₯ SEE ALSO π₯
bestie the friend group is huge, buckle up π
Kernel file ./net/batman-adv/send.c β and then all of these icons:
batadv_send_skb_packet(9)batadv_send_broadcast_skb(9)batadv_send_unicast_skb(9)batadv_send_skb_to_orig(9)batadv_send_skb_push_fill_unicast(9)batadv_send_skb_prepare_unicast(9)batadv_send_skb_prepare_unicast_4addr(9)batadv_send_skb_unicast(9)batadv_send_skb_via_tt_generic(9)batadv_send_skb_via_gw(9)batadv_forw_packet_free(9)batadv_forw_packet_alloc(9)batadv_forw_packet_was_stolen(9)batadv_forw_packet_steal(9)batadv_forw_packet_list_steal(9)batadv_forw_packet_queue(9)batadv_forw_packet_bcast_queue(9)batadv_forw_packet_ogmv1_queue(9)batadv_forw_bcast_packet_to_list(9)batadv_forw_bcast_packet_if(9)batadv_send_no_broadcast(9)__batadv_forw_bcast_packet(9)batadv_forw_bcast_packet(9)batadv_send_bcast_packet(9)batadv_forw_packet_bcasts_left(9)batadv_forw_packet_bcasts_dec(9)batadv_forw_packet_is_rebroadcast(9)batadv_send_outstanding_bcast_packet(9)batadv_purge_outstanding_packets(9)
and that's the whole page, bestie!! π§β¨ this lil masterpiece lives in ./net/batman-adv and it's stamped October 2026 π mwah, go forth and free those forward packets 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