HomeFreeBSD

net80211: validate control frame TA/RA before further processing

Description

net80211: validate control frame TA/RA before further processing

An earlier commit relaxed the TA/RA rules around control frames
to fix other issues, however it now results in control frames
not specifically from a known node / to us to be handled in the control
path.

Specifically, rtwn(4) RTL8812/RTL8821 NICs are currently passing BARs
from the AP TA to any destination to us; which is tripping up BAW
tracking and causing traffic hangs.

So do the check before vap->iv_recv_ctl() is called in each input path.

Note that mesh doesn't seem to pass the control frames up; however
I haven't tested/validated mesh in a long while and I know it's
currently broken.

Differential Revision: https://reviews.freebsd.org/D49575

Details

Provenance
adrianAuthored on Sun, Mar 30, 12:03 AM
Differential Revision
D49575: net80211: validate control frame TA/RA before further processing
Parents
rG4fae019c2b8f: nfscommon: Prepare the NFS common code for named attributes
Branches
Unknown
Tags
Unknown