HomeFreeBSD

LinuxKPI: 802.11 plug mbuf leak in error cases

Description

LinuxKPI: 802.11 plug mbuf leak in error cases

Manually free the mbuf in certain error cases from net80211 to not
leak it.
Note that the differences between ieee80211_input_mimo() and
ieee80211_input_mimo_all(), the former not consuming the mbuf while
the later does, is confusing.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit dbc06dd98ae9940377a9ef31a594c17566334977)

Details

Provenance
bzAuthored on Jun 5 2022, 6:04 PM
Parents
rG8660752908a2: iwlwifi: disable more MEI (Management Engine) code
Branches
Unknown
Tags
Unknown