You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Alexander V. Chernikov d187154750 netlink: use custom uma zone for the mbuf storage.
Netlink communicates with userland via sockets, utilising
 MCLBYTES-sized mbufs to append data to the socket buffers.
These mbufs are never transmitted via logical or physical network.

It may be possible that the 2k mbuf zone is temporary exhausted
 due to the DDoS-style traffic, leading to Netlink failure to
 respond to the requests.

To address it, this change introduces a custom Netlink-specific
 zone for the mbuf storage. It has the following benefits:
* no precious memory from UMA_ZONE_CONTIG zones is utilized for Netlink
* Netlink becomes (more) independent from the traffic spikes and
 other related network "corner" conditions.
* Netlink allocations are now isolated within a specific zone, making it
 easier to track Netlink mbuf usage and attribute mbufs.

Reviewed by:	gallatin, adrian
Differential Revision:
MFC after:	2 weeks
3 hours ago
.github MAINTAINERS: Add myself to stand 3 weeks ago
cddl kinst: fix memcpy() tracing crash 6 days ago
contrib pf: make contents of struct pfsync_state configurable 2 days ago
crypto OpenSSL: Merge OpenSSL 1.1.1u 2 days ago
etc Add simple factor/primes regression tests 5 days ago
lib libunbound: Request the OpenSSL 1.1 API 19 hours ago
libexec Revert "When stopping powerd, set the CPU frequency back to its maximum value" 7 days ago
release release/oci.conf: add missing vm_extra_pre_umount() steps 1 week ago
sbin decryptcore: add OPENSSL_INIT_LOAD_CONFIG to init call 16 hours ago
secure OpenSSL: Merge OpenSSL 1.1.1u 2 days ago
share pmc: Initialise and check the pm_flags field for CONFIGURELOG 1 day ago
stand stand: libefi: avoid a null pointer deref in eficom 4 days ago
sys netlink: use custom uma zone for the mbuf storage. 3 hours ago
tests netinet*: Fix redirects for connections from localhost 23 hours ago
tools genl: add new command to list genetlink(4) 2 days ago
usr.bin split(1): add '-c' to continue creating files 2 days ago
usr.sbin unbound: avoid calling deprecated OpenSSL function 1 day ago
.cirrus.yml Cirrus-CI: add amd64 and arm64 Clang/LLVM 16 jobs 2 days ago
Makefile.libcompat delete-old: add two files left behind in certs/blacklisted 1 week ago
RELNOTES RELNOTES: add note about moving /usr/home to /home 1 week ago

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.

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/
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.