mesh_path_flush_pending(9)
β¨ mesh_path_flush_pending(9) β¨
okay so welcome to the glow-up of the mesh_path_flush_pending manual page, straight out of the Kernel API Manual, section 9, bestie π
like yes we're in the kernel docs and we're thriving.
π NAME π
mesh_path_flush_pending β frees the pending queue of a mesh path. that's it. that's the whole job. she's a one-task queen π
π¦ SYNOPSIS π¦
void mesh_path_flush_pending (struct mesh_path *mpath );
literally one argument. one. we love a low-maintenance function signature πΈ
π ARGUMENTS π
mpathβ the mesh path whose queue has to be freed π« like this is the actual path object you're purging, so be sure it's the one you meant to flush, okurrr?
π DESCRIPTION π
so here's the tea, and it's important tea β
Locking: the function must be called within an rcu_read_lock region πβ¨ (yes, the original says "must me called" β typo and all, she's iconic like that π). so no cap, wrap this call in your rcu_read_lock before you go flushing anything, or you're gonna have a bad time π
π SEE ALSO π
the whole friend group, all in ./net/mac80211/mesh_pathtbl.c π«Ά gather round:
mesh_path_assign_nexthop(9)mesh_path_move_to_queue(9)mesh_path_lookup(9)mesh_path_lookup_by_idx(9)mpp_path_lookup_by_idx(9)mesh_path_add_gate(9)mesh_gate_del(9)mesh_gate_num(9)mesh_path_add(9)mesh_plink_broken(9)mesh_path_flush_by_nexthop(9)mesh_path_flush_by_iface(9)table_path_del(9)mesh_path_del(9)mesh_path_tx_pending(9)mesh_path_send_to_gates(9)mesh_path_discard_frame(9)mesh_path_fix_nexthop(9)
every single one, no skips, we don't gatekeep here π§β¨
β reminder bestie: rcu_read_lock region required. that's not a vibe suggestion, that's the rule π₯
and that's the page!! mwah π sourced from ./net/mac80211, dated October 2026, filed under section 9 of the Kernel API Manual β slay, ate, periodt ππ π¦
π¦ 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