freebsd with flexible iflib nic queues
Go to file
Mark Johnston d93ec8cb13 inpcb: Allow SO_REUSEPORT_LB to be used in jails
Currently SO_REUSEPORT_LB silently does nothing when set by a jailed
process.  It is trivial to support this option in VNET jails, but it's
also useful in traditional jails.

This patch enables LB groups in jails with the following semantics:
- all PCBs in a group must belong to the same jail,
- PCB lookup prefers jailed groups to non-jailed groups

This is a straightforward extension of the semantics used for individual
listening sockets.  One pre-existing quirk of the lbgroup implementation
is that non-jailed lbgroups are searched before jailed listening
sockets; that is preserved with this change.

Discussed with:	glebius
MFC after:	1 month
Sponsored by:	Modirum MDPay
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D37029
2022-11-02 13:46:24 -04:00
.cirrus-ci
.github .github: Attempt to fix and increase robustness of macOS action 2022-06-30 21:03:26 +01:00
bin ls(1): add a -v flag to sort naturally 2022-10-31 00:00:42 +01:00
cddl pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
contrib ofed: allow using IPv6 address in rc_pingpong server 2022-10-30 20:11:41 +01:00
crypto OpenSSL: Merge OpenSSL 1.1.1s 2022-11-01 18:58:59 -04:00
etc mktemp: add -p/--tmpdir argument 2022-10-30 22:55:46 -05:00
gnu libdialog: Bump shared library version to 10. 2021-10-27 09:30:24 -07:00
include getaddrinfo: distinguish missing addrs from unresolvable names 2022-11-02 11:03:31 -05:00
kerberos5 kerberos5: retire now-unused MIPS support 2022-11-02 13:16:18 -04:00
lib getsockopt.2: Clarify the SO_REUSEPORT_LB text a bit 2022-11-02 13:46:24 -04:00
libexec rtld: remove unused macro FPTR_TARGET 2022-10-22 05:15:06 +03:00
release release: Add support for creating ZFS-based VM images 2022-10-28 17:00:24 -04:00
rescue rescue: Link libzutil after libzfs. 2022-10-03 16:10:42 -07:00
sbin pf: bridge-to 2022-11-02 15:45:23 +01:00
secure OpenSSL: Regen manual pages for OpenSSL 1.1.1s 2022-11-01 19:38:40 -04:00
share [skip ci] Remove obsolete references in crypto_request(9) 2022-11-02 11:09:06 -06:00
stand stand: Nuke double-semicolons 2022-11-02 09:34:54 -06:00
sys inpcb: Allow SO_REUSEPORT_LB to be used in jails 2022-11-02 13:46:24 -04:00
targets Put OPIE to rest. 2022-10-02 03:37:29 +02:00
tests pf tests: bridge-to test case 2022-11-02 15:45:23 +01:00
tools tools/build/make.py: fix cross build on Fedora Linux 2022-11-01 21:04:10 -03:00
usr.bin grep: correct argument name in man page 2022-11-01 14:36:59 -04:00
usr.sbin makefs: Fix handling of inherited mountpoints 2022-10-28 17:00:22 -04:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml Cirrus-CI: move QEMU pkg installation to test script 2022-09-07 13:32:12 -04:00
.clang-format
.gitattributes
.gitignore Import wireguard-tools for wg(8) 2022-10-28 21:42:39 -05:00
COPYRIGHT Welcome 2022, update copyrights. 2022-01-01 09:49:49 -07:00
LOCKS
MAINTAINERS Remove myself from bhyve maintenance; ENOTIME. 2021-11-19 07:09:30 +10:00
Makefile Import tzdata 2022f 2022-10-29 10:33:53 +08:00
Makefile.inc1 build: Use rm -fv for BATCH_DELETE_OLD_FILES 2022-10-25 11:18:55 -04:00
Makefile.libcompat Install working pkgconfig .pc files for compat libraries 2022-08-11 23:18:34 +01:00
Makefile.sys.inc
ObsoleteFiles.inc Remove wg.4 from ObsoleteFiles.inc 2022-10-31 10:38:38 +01:00
README.md README.md: link to the list of supported platforms 2022-11-01 12:20:55 -03:00
RELNOTES RELNOTES: Add an entry for if_bridge l3 filtering default change 2022-10-24 17:58:00 +02:00
UPDATING UPDATING: correct spearate typo 2022-10-26 14:25:12 -04: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.

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.