HomeFreeBSD

LinuxKPI: 802.11: disable ic_headroom for the moment

Description

LinuxKPI: 802.11: disable ic_headroom for the moment

There is a problem with some drivers, such as rtw88, asking for more
headroom than we currently can handle throughout the stack (we have
other legacy wireless driver in the tree with similar problems).
This may trigger an assertion in the TCP syncache where we are checking
for a reply to fit in MHLEN.
While for the moment we still copy data from mbufs to skbs,
we can simply disable the extra headroom request in ic_headroom and
deal with it ourselves (which we already did anyway).
Leave a link to the thread on freebsd-transport detailing more of the
problem so we can find it again and solve it here or there.

(cherry picked from commit 3d09d310d9981dde1d6e51fed6ecf9576480b9f7)

Details

Provenance
bzAuthored on Feb 16 2022, 11:57 PM
Parents
rG266cae806264: LinuxKPI: 802.11 advertise full offload scanning based on hw_scan only
Branches
Unknown
Tags
Unknown