HomeFreeBSD

LinuxKPI: 802.11: avoid recursive wiphy lock

Description

LinuxKPI: 802.11: avoid recursive wiphy lock

When freeing the last reference of the net80211 node the net80211
node_free() code may directly call into the crypto code to delete
the keys. While we still holding the wiphy lock this would lead to
a recursion on the non-recursive wiphy lock. Defer freeing the
reference until we are back under the net80211 com lock.

Reported by: Mark Phillips (mark freebsdfoundation.org) on 15.0-ALPHA1
MFC after: 3 days

Details

Provenance
bzAuthored on Sep 11 2025, 2:44 PM
Parents
rGd20c82507278: Revert "libc: Remove readdir_r(3)"
Branches
Unknown
Tags
Unknown