mesh_queue_preq(9)
π« mesh_queue_preq(9) β the Kernel API Manual moment you've been WAITING for π«
okay so bestie, gather round, because today we're talking about mesh_queue_preq from the Kernel API Manual, and honestly? it's giving "tiny function, big responsibilities." no cap. π
β¨ NAME β¨
mesh_queue_preq β queue a PREQ to a given destination π¦
πΈ SYNOPSIS πΈ
void mesh_queue_preq (struct mesh_path *mpath , u8 flags );
like, that's the whole vibe. short. iconic. three tokens and a dream. π
π ARGUMENTS π
mpathβ the mesh path to discover π literally the thing we're trying to figure out, bestie.flagsβ special attributes of the PREQ to be sent β¨ the little extra seasoning on top, iykyk.
π₯ DESCRIPTION π₯
okay so the actual description is short but it is so important, do not skip it, I'm serious:
Locking: the function must be called from within a rcu read lock block. π
that's it. that's the whole description. and yet? if you ignore it? chaos. so likeβ¦ call it inside the rcu read lock block, periodt. π
π SEE ALSO π
go check these out, they're all in the kernel file ./net/mac80211/mesh_hwmp.c and they're lowkey the whole friend group:
mesh_path_error_tx(9)hwmp_route_info_get(9)mesh_path_start_discovery(9)mesh_nexthop_resolve(9)mesh_nexthop_lookup_nolearn(9)mesh_nexthop_lookup(9)
and that's the page!! π«Ά this little gem lives in ./net/mac80211, the manual is dated October 2026, and it's brought to you by the Kernel API Manual β go forth and queue those PREQs 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