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

(cherry picked from commit fa4e4257943650c0b5f58c01bb0bdfadea61dfb2)

Details

Provenance
bzAuthored on Feb 14 2024, 9:56 PM
Reviewer
emaste
Differential Revision
D43909: LinuxKPI: 802.11: lsta txq locking cleanup
Parents
rG223edc1a3c2f: LinuxKPI: 802.11: update the ni/lsta reference cycle
Branches
Unknown
Tags
Unknown