batadv_v_ogm_aggr_list_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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