HomeFreeBSD

LinuxKPI: 802.11: lsta txq locking cleanup

Description

LinuxKPI: 802.11: lsta txq locking cleanup

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: 1 day
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D43909

Details

Provenance
bzAuthored on Feb 14 2024, 9:56 PM
Reviewer
emaste
Differential Revision
D43909: LinuxKPI: 802.11: lsta txq locking cleanup
Parents
rG23d4d0fcc1be: pmc: Fix some problems with the makefile
Branches
Unknown
Tags
Unknown