batadv_v_ogm_aggr_list_free(9)
π batadv_v_ogm_aggr_list_free β like, the Kernel API Manual bestie β¨
okay so we're in the kernel API manual today (batadv_v_ogm_aggr_list_free(9), if you're keeping track π) and honestly? this one's a little cleanup queen. she takes out the trash. she's the friend who shows up with a garbage bag and a smile. iconic behavior fr fr πΈ
β¨ NAME β¨
batadv_v_ogm_aggr_list_free β free all elements in an aggregation queue π§Ήπ
π¦ SYNOPSIS π¦
void batadv_v_ogm_aggr_list_free (struct batadv_hard_iface *hard_iface
);
like, that's the whole vibe. one arg, void return, no drama π
π ARGUMENTS π
hard_ifaceβ the interface holding the aggregation queue π she's the main character here, she's literally the one carrying the whole queue
β DESCRIPTION β
So what does she actually do? She empties the OGMv2 aggregation queue and frees all the skbs it contains π«Ά that's it, that's the whole job. queue empty, skbs freed, memory reclaimed, slay πβ¨
β οΈ but bestie, listen β the caller needs to hold hard_iface->bat_v.aggr_list.lock π no cap, that's on you, not on her. don't be out here calling this without the lock, that's not the vibe π
π₯ SEE ALSO π₯
okay this is the part where I introduce you to the whole friend group π they all live in the kernel file ./net/batman-adv/bat_v_ogm.c and honestly they're all lowkey obsessed with each other:
batadv_v_ogm_orig_get(9)batadv_v_ogm_start_queue_timer(9)batadv_v_ogm_start_timer(9)batadv_v_ogm_send_to_if(9)batadv_v_ogm_len(9)batadv_v_ogm_queue_left(9)batadv_v_ogm_aggr_send(9)batadv_v_ogm_queue_on_if(9)batadv_v_ogm_send_meshif(9)batadv_v_ogm_send(9)batadv_v_ogm_aggr_work(9)batadv_v_ogm_iface_enable(9)batadv_v_ogm_iface_disable(9)batadv_v_ogm_primary_iface_set(9)batadv_v_forward_penalty(9)batadv_v_ogm_forward(9)batadv_v_ogm_metric_update(9)batadv_v_ogm_route_update(9)batadv_v_ogm_process_per_outif(9)batadv_v_ogm_aggr_packet(9)batadv_v_ogm_process(9)batadv_v_ogm_packet_recv(9)batadv_v_ogm_init(9)batadv_v_ogm_free(9)
all 24 of them, present and accounted for, iykyk π§π
aaaand that's the page!! mwah π this came from ./net/batman-adv, dated October 2026 β so like, future energy but make it kernel π¦β go forth and free your skbs responsibly, bestie π«Άπ
π¦ 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