mesh_queue_preq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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


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