OPNsense - FreeBSD source
Find a file
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
.cirrus-ci
.github github: Fix checklist action 2025-04-28 15:27:29 -06:00
bin dot.shrc: words to words, should be singular 2025-04-28 15:48:12 -06:00
cddl Note that bash(1) is from a port. 2025-04-19 20:13:22 +02:00
contrib wpa_supplicant: Use PF_LOCAL instead of PF_INET* 2025-04-28 10:19:50 -07:00
crypto OpenSSH: Regen config.h for DSA retirement 2025-04-15 14:15:33 -04:00
etc sysrc: Add some regressions tests 2025-04-28 18:18:08 +00:00
gnu Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
include libc: Add getenv_r() function. 2025-04-27 08:29:32 +02:00
kerberos5 kerberos5, libcom_err, others: append to LDFLAGS instead of replacing 2025-04-05 14:19:57 -07:00
lib time: use precise callout for clock_nanosleep(2) and nanosleep(2) 2025-04-30 09:47:57 -07:00
libexec nuageinit: implement chpasswd 2025-04-30 09:32:06 +02:00
release release: style: prefer -n over ! -z 2025-04-29 18:18:33 +01:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin mount: Improve usage message and polish man page descriptions 2025-04-30 15:52:59 -04:00
secure secure: Add ssh-sk-client to all consumers of libssh 2025-04-21 22:05:28 -04:00
share src.conf.5: Correct LLVM_BINUTILS comment about strings(1) 2025-04-30 09:44:48 -04:00
stand kboot: Add support for UEFI booting amd64 2025-04-17 15:56:47 -06:00
sys rtwn: fix mbuf allocation errors in USB RX path for > 4 KiB frames 2025-04-30 20:01:05 -07:00
targets gvinum(8): Remove userland tool for managing vinum volumes 2025-01-23 11:20:43 -05:00
tests CI: Add full test support 2025-04-30 10:18:08 +02:00
tools src.conf.5: Correct LLVM_BINUTILS comment about strings(1) 2025-04-30 09:44:48 -04:00
usr.bin netstat(1): add description for option -o and -O. 2025-04-30 07:41:24 +01:00
usr.sbin pkg: clarify argument parsing 2025-04-29 21:00:17 -04:00
.arcconfig
.arclint
.cirrus.yml .cirrus-ci: Update the non-manual GCC build job to GCC 14 2025-03-03 11:51:47 -05:00
.clang-format clang-format: Minor tweaks 2024-04-30 17:33:43 -04:00
.git-blame-ignore-revs .git-blame-ignore-revs: queue(3): Single space after all #define 2025-04-28 14:22:10 +02:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore .gitignore: add sys/*/compile 2024-02-02 09:20:36 -07:00
.mailmap mailmap: Translate my personal address 2024-06-22 08:57:56 +02:00
CONTRIBUTING.md CONTRIBUTING.md/style: spring cleaning 2024-05-10 15:07:03 -06:00
COPYRIGHT copyright: Happy New Year 2025 2025-01-01 00:04:28 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
Makefile universe: Update the default GCC toolchain to GCC 14 2025-03-03 11:51:53 -05:00
Makefile.inc1 Makefile.inc1: Let the buildetc target run outside of etc 2025-04-24 14:32:41 +00:00
Makefile.libcompat Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.sys.inc
ObsoleteFiles.inc ObsoleteFiles.inc: Fix the path to libdevinfo.so.6 2025-04-30 10:53:34 -04:00
README.md openssl: Import OpenSSL 3.0.16 2025-03-06 09:49:50 -08:00
RELNOTES RELNOTES: ps(1): Change in behavior for option '-U' 2025-04-28 14:19:32 +02:00
UPDATING ng_ubt: add UPDATING note about firmware downloading on Realtek adaptors 2025-04-29 00:39:28 +03:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.