opnsense-src/sys
R. Christian McDonald ae2ca32781 netlink: fix potential llentry lock leak in newneigh handler
The netlink newneigh handler has the potential to leak the lock on
llentry objects in the kernel. This patch reconciles several paths
through the newneigh handler that could result in a lock leak.

MFC after:	1 week
Reviewed by:	markj, kp
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D42307
2023-10-23 16:24:51 +02:00
..
amd64 amd64 pmap: Prefer consistent naming for loader tunable 2023-10-21 09:31:58 +08:00
arm pmap: Prefer consistent naming for loader tunable 2023-10-20 01:00:31 +08:00
arm64 arm64: Teach bus_dma on arm64 about NUMA 2023-10-23 11:45:22 +01:00
bsm
cam ctl: Use ctl_io_sbuf in ctl_process_done 2023-10-16 15:47:09 -07:00
cddl dtrace: remove x86 non-EARLY_AP_STARTUP support 2023-10-10 11:03:27 -04:00
compat linuxkpi: Fix an assertion in linux_free_kmem() 2023-10-18 09:43:02 -04:00
conf uart: Support EARLY_PRINTF on x86 for port-mapped COM ports 2023-10-20 16:07:24 -06:00
contrib zfs: merge openzfs/zfs@797f55ef1 2023-10-22 18:26:16 +02:00
crypto
ddb ddb: Add sysctl flag CTLFLAG_TUN to loader tunable 2023-10-09 18:30:21 +08:00
dev uart: Support EARLY_PRINTF on x86 for port-mapped COM ports 2023-10-20 16:07:24 -06:00
dts
fs nfscl: Handle a Getattr failure with NFSERR_DELAY following Open 2023-10-21 18:33:33 -07:00
gdb
geom geom_linux_lvm: Avoid removing from vg_list before inserting 2023-10-17 11:19:05 -04:00
gnu
i386 pmap: Prefer consistent naming for loader tunable 2023-10-20 01:00:31 +08:00
isa
kern thread: add td_wantedlock 2023-10-22 17:09:45 +00:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@797f55ef1 2023-10-22 18:26:16 +02:00
net bpf: Make dead_bpf_if const 2023-10-21 12:52:27 +08:00
net80211 net80211: pass __func__, __LINE__ also to ieee80211_alloc_node() 2023-10-06 10:50:06 +00:00
netgraph
netinet pf: use an enum for packet direction in divert tag 2023-10-20 09:16:08 +02:00
netinet6
netipsec
netlink netlink: fix potential llentry lock leak in newneigh handler 2023-10-23 16:24:51 +02:00
netpfil pf: use an enum for packet direction in divert tag 2023-10-20 09:16:08 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc pmap: Prefer consistent naming for loader tunable 2023-10-20 01:00:31 +08:00
riscv uiomove: Add some assertions 2023-10-17 09:12:19 -04:00
rpc
security
sys thread: add td_wantedlock 2023-10-22 17:09:45 +00:00
teken teken: fix style in teken_wcwidth.h 2023-10-13 08:14:57 +03:00
tests netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
tools
ufs ufs quotas: fix configuring soft quota grace time 2023-10-21 09:08:38 +03:00
vm uma.h: Fix a typo in a source code comment 2023-10-15 14:09:21 +02:00
x86 x86: Prefer consistent naming for loader tunables 2023-10-21 09:31:58 +08:00
xdr
xen
Makefile
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures