Page MenuHomeFreeBSD

LinuxKPI: 802.11: lsta txq locking cleanup
ClosedPublic

Authored by bz on Feb 14 2024, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 24, 2:48 PM
Unknown Object (File)
Thu, Apr 24, 8:44 AM
Unknown Object (File)
Thu, Apr 17, 9:08 AM
Unknown Object (File)
Wed, Apr 16, 10:32 AM
Unknown Object (File)
Mar 27 2025, 5:20 PM
Unknown Object (File)
Feb 26 2025, 5:47 PM
Unknown Object (File)
Jan 27 2025, 5:03 PM
Unknown Object (File)
Jan 17 2025, 9:48 PM

Details

Summary

Rename the LSTA lock to LSTA_TXQ lock as that is really what it is and
put down the full set of macros. Replace the init and destroy with the
macro invocation rather than direct code.

Put locking around the txq_ready unset and check. Move the taskq_enqueue
call under lock to be sure we do not call it anymore after txq_ready
got unset.

Leave a comment related to the node reference which is passed into the
TX path on the recvif mbuf pointer.

Fixes: 0936c648ad0ee
PR: 274382 (possibly)
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable