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)
Sat, Jun 15, 4:04 AM
Unknown Object (File)
May 21 2024, 11:56 PM
Unknown Object (File)
May 21 2024, 11:56 PM
Unknown Object (File)
May 21 2024, 11:20 PM
Unknown Object (File)
May 10 2024, 11:05 AM
Unknown Object (File)
May 4 2024, 1:18 PM
Unknown Object (File)
Apr 29 2024, 4:44 PM
Unknown Object (File)
Apr 29 2024, 4:37 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