HomeFreeBSD

LinuxKPI: 802.11: fix locking in lkpi_ic_ampdu_rx_stop()

Description

LinuxKPI: 802.11: fix locking in lkpi_ic_ampdu_rx_stop()

net80211 has inconsistent locking when calling into (*ic_ampdu_rx_stop)().
Make use of 054c5ddf587a7 and conditionally check if the caller
locked or not and if locked temporary drop the lock to avoid sleeping
on a non-sleepaable lock during the downcall into the driver.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 65c573e47c40e3f167f3d7e41bd8db40b6b8f91e)

Details

Provenance
bzAuthored on Sat, Feb 22, 11:38 PM
Parents
rGcb9ffb85c413: LinuxKPI: 802.11: add condition to TODO in ieee80211_sta_recalc_aggregates
Branches
Unknown
Tags
Unknown