HomeFreeBSD

LinuxKPI: 802.11: catch possible NULL pointer deref with mt76

Description

LinuxKPI: 802.11: catch possible NULL pointer deref with mt76

With mt76 we, for the first time, see that txstat->skb or
txstat->info may not be filled in linuxkpi_ieee80211_tx_status_ext().
Guard for these cases checking for skb and info to be not NULL and
assume a TX failure in case info is NULL.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
bzAuthored on Feb 4 2026, 10:46 PM
Parents
rG7d60647a1a6c: LinuxKPI: 802.11: make sure we are scheduled before wake_tx_queue()
Branches
Unknown
Tags
Unknown