Page MenuHomeFreeBSD

net80211: fix LOR in ieee80211_ff_node_cleanup()
ClosedPublic

Authored by avos on Jun 24 2016, 5:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 27 2024, 10:26 AM
Unknown Object (File)
Feb 27 2024, 10:13 AM
Unknown Object (File)
Feb 17 2024, 10:33 PM
Unknown Object (File)
Feb 15 2024, 11:58 AM
Unknown Object (File)
Dec 20 2023, 2:08 AM
Unknown Object (File)
Oct 3 2023, 4:47 PM
Unknown Object (File)
Sep 22 2023, 4:54 PM
Unknown Object (File)
Sep 13 2023, 4:26 PM
Subscribers

Details

Summary

Add new lock for stageq (part of ieee80211_superg structure) and ni_tx_superg (part of ieee80211_node structure); drop com_lock protection where it is used.
While here, drop duplicate OPACKETS counter incrementation.

ni_tx_ampdu is not protected with it (however, it is also used without locking in other places; probably, it requires some other solution to be thread-safe).

Since this change breaks KBI, it will not be merged into 11.0-RELEASE.

Test Plan

Tested with RTL8188CUS (AP) and RTL8188EU (STA).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avos retitled this revision from to net80211: fix LOR in ieee80211_ff_node_cleanup().
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added a reviewer: adrian.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
This revision was automatically updated to reflect the committed changes.