opnsense-src/sys/dev/rtwn
Adrian Chadd 28e89934a9 rtwn: fix mbuf allocation errors in USB RX path for > 4 KiB frames
We can and do receive > 4 KiB frames in the RX path (A-MSDU frames
can be up to 11KiB.)  At least one user has reported seeing this
and having it break their traffic flows.

Use m_get3() to try and grab an mbuf jumbo cluster.

This may not be the best permanent solution, but it at least will
fail for frame sizes we expect to see up and including the largest
A-MPDU frame (11Kib)  and keep a counter if it can't allocate, versus
just returning NULL because it's too large (and not keeping counters.)

Differential Revision:	https://reviews.freebsd.org/D50049
PR:	kern/286366
Reviewed by:	bz
2025-04-30 20:01:05 -07:00
..
pci
rtl8188e
rtl8192c
rtl8192e
rtl8812a
rtl8821a
usb rtwn: fix mbuf allocation errors in USB RX path for > 4 KiB frames 2025-04-30 20:01:05 -07:00
if_rtwn.c
if_rtwn_beacon.c
if_rtwn_beacon.h
if_rtwn_calib.c
if_rtwn_calib.h
if_rtwn_cam.c
if_rtwn_cam.h
if_rtwn_debug.h
if_rtwn_efuse.c
if_rtwn_efuse.h
if_rtwn_fw.c
if_rtwn_fw.h
if_rtwn_nop.h
if_rtwn_ridx.h
if_rtwn_rx.c
if_rtwn_rx.h
if_rtwn_task.c
if_rtwn_task.h
if_rtwn_tx.c
if_rtwn_tx.h
if_rtwnreg.h
if_rtwnvar.h