OPNsense - FreeBSD source
Find a file
Jasper Tran O'Leary 73c3fe4db3 gve: Fix qpl_buf_head being initialized improperly
Currently, for DQO QPL our MPASS assertion on qpl_buf_head for available
pending_pkts (i.e. not holding a packet) fails due to incorrect
initialization. The MPASS fails on the first run of packets through the
ring when INVARIANTS is on, and when INVARIANTS is off, things work
without a bug.

The MPASS guards against improper reaping of "pending_pkt" objects,
and thus was failing for the first run through the ring. By correctly
initializing the objects in this patch we make the MPASS not fail on the
first run too.

Signed-off-by: Vee Agarwal <veethebee@google.com>
Signed-off-by: Jasper Tran O'Leary <jtranoleary@google.com>

Reviewed by:	delphij, markj
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D48968
2025-02-14 15:08:23 +00:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github github: Add new checklist workflow 2025-01-24 15:27:08 -05:00
bin csh: Remove gethost dependency on tc.const.h 2025-02-08 19:30:55 -05:00
cddl libdtrace: Use designators to initialize the opcode array 2025-01-29 00:59:21 +00:00
contrib Fix remaining zgrep(1) wrapper script regressions 2025-02-09 10:45:03 -08:00
crypto ssh: Update config.h for OpenSSL ED25519 2025-02-11 15:12:31 -05:00
etc mtree: Add missing flua/freebsd/sys entry 2025-02-05 19:53:23 +00:00
gnu Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
include rpc: limited multithread support for svc_nl 2025-02-01 01:00:28 -08:00
kerberos5 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
lib pf: Add support for multiple source node types 2025-02-13 15:59:12 +01:00
libexec src: Use gnu17 as the default C standard for userland instead of gnu99 2025-02-11 09:16:25 -05:00
release release: Chase location of pkg repo databases 2025-02-03 16:10:47 -08:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin pf: Add support for multiple source node types 2025-02-13 15:59:12 +01:00
secure ssh: Move XAUTH_PATH setting to ssh.mk 2025-02-10 11:22:42 -05:00
share pf.conf.8: document !received-on 2025-02-13 13:38:45 +01:00
stand loader.conf: Document boot_verbose 2025-02-09 11:24:22 -07:00
sys gve: Fix qpl_buf_head being initialized improperly 2025-02-14 15:08:23 +00:00
targets gvinum(8): Remove userland tool for managing vinum volumes 2025-01-23 11:20:43 -05:00
tests pf: Add support for multiple source node types 2025-02-13 15:59:12 +01:00
tools tools: Add a small program to demonstrate FIB handling in bind(2) 2025-02-06 16:25:31 +00:00
usr.bin sockstat: with -A print pcb addresses, just like netstat(1) 2025-02-11 10:23:15 -08:00
usr.sbin jls: fix the -q option to put quotes around all whitespace 2025-02-13 07:48:18 -08:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.cirrus.yml .cirrus-ci: Update the non-manual GCC build job to GCC 13 2025-01-03 10:44:44 -05:00
.clang-format clang-format: Minor tweaks 2024-04-30 17:33:43 -04:00
.git-blame-ignore-revs git-blame-ignore-revs: list rtld-elf reformatting 2025-01-21 03:57:21 +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 Import bmake-20250125 2025-01-30 15:38:13 -08:00
Makefile.inc1 mtree: TESTSBASE directory always starts with a / 2025-01-24 23:10:05 +00:00
Makefile.libcompat Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc ObsoleteFiles.inc: Remove test debug file from wrong dir 2025-02-13 17:05:33 +00:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES RELNOTES: Add an entry for the new bind_all_fibs tunables 2025-02-06 16:25:42 +00:00
UPDATING Add notes for handling the January 19, 2038 date limit in UFS1 filesystems 2025-02-01 10:59:26 -08: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.