]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11: disable ic_headroom for the moment
authorBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 16 Feb 2022 23:57:27 +0000 (23:57 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 16 Feb 2022 23:57:27 +0000 (23:57 +0000)
commit3d09d310d9981dde1d6e51fed6ecf9576480b9f7
treefe2c3f1930a2cfff8ba63e31602c2207e0419548
parentc4bf04f40bb577477de2011875807f24cbb1a7e2
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.

MFC after: 3 days
sys/compat/linuxkpi/common/src/linux_80211.c