opnsense-src/sys
Arseny Smalyuk ed80803df4 netinet6: Fix mbuf leak in NDP
Mbufs leak when manually removing incomplete NDP records with pending packet via ndp -d.
It happens because lltable_drop_entry_queue() rely on `la_numheld`
counter when dropping NDP entries (lles). It turned out NDP code never
increased `la_numheld`, so the actual free never happened.

Fix the issue by introducing unified lltable_append_entry_queue(),
common for both ARP and NDP code, properly addressing packet queue
maintenance.

Reviewed By: melifaro
Differential Revision: https://reviews.freebsd.org/D35365
MFC after:	2 weeks

(cherry picked from commit d18b4bec98)
2023-05-09 11:05:03 +02:00
..
amd64 amd64 wakeup: recalculate mitigations after APICs are woken 2023-03-30 15:35:53 +03:00
arm Revert "netlink: add NETLINK to GENERIC." 2023-02-27 16:33:29 +00:00
arm64 Revert "netlink: add NETLINK to GENERIC." 2023-02-27 16:33:29 +00:00
bsm
cam CTL: Use atomics for tags in ioctl frontend. 2022-12-12 20:15:53 -05:00
cddl dtrace/powerpc: Adjust AFRAMES for fbt and profile 2023-03-15 16:31:32 -04:00
compat linux_80211: Don't dequeue lsta if not queued 2023-03-07 21:51:17 -08:00
conf Update in preparation for 13.2-RELEASE 2023-04-06 17:03:18 -07:00
contrib MFV: zlib 1.2.13. 2023-02-22 22:56:20 -08:00
crypto aesni: Remove misleading array bounds for aesni_decryt_ecb. 2023-05-09 10:41:33 +02:00
ddb ddb: have 'reset' command use normal reboot path 2023-02-06 15:34:37 -04:00
dev e1000: Fix packet loss on 11th gen and later 2023-05-09 10:47:27 +02:00
dts
fs fusefs: fix some resource leaks 2023-02-19 16:42:32 -07:00
gdb
geom GEOM: Remove redundant NULL pointer check before g_free() 2023-01-11 18:35:59 +08:00
gnu
i386 Revert "netlink: add NETLINK to GENERIC." 2023-02-27 16:33:29 +00:00
isa
kern mbuf: Fix an offset calculation in m_apply_extpg_one() 2023-03-24 19:56:47 -04:00
kgssapi kgssapi: Increase timeout for kernel to gssd(8) upcalls 2023-01-25 19:02:18 -08:00
libkern Remove obsolete code gated on _ARM_ARCH_* 2023-01-24 14:49:15 -07:00
mips mips: Fix sendsig for stack layout randomisation 2023-01-31 01:46:18 +00:00
modules ice(4): Update to 1.37.7-k 2023-02-21 15:55:41 -08:00
net netinet6: Fix mbuf leak in NDP 2023-05-09 11:05:03 +02:00
net80211
netgraph ng_atmllc: deprecate 2023-03-06 18:55:45 +00:00
netinet netinet6: Fix mbuf leak in NDP 2023-05-09 11:05:03 +02:00
netinet6 netinet6: Fix mbuf leak in NDP 2023-05-09 11:05:03 +02:00
netipsec ipsec: Clear pad bytes in PF_KEY messages 2023-02-01 12:22:31 -05:00
netlink netlink: fix OOB read in genetlink 2023-03-07 08:28:06 -05:00
netpfil pf: remove pd_refs from pfsync 2023-05-09 10:37:36 +02:00
netsmb
nfs Allow any user to read the NFS stats, for example with nfsstat(1). 2023-01-27 10:11:45 -07:00
nfsclient
nfsserver
nlm
ofed infiniband: Opt-in for net epoch 2023-05-09 10:56:52 +02:00
opencrypto ktls_ocf: Reject encrypted TLS records using AEAD that are too small. 2023-01-23 21:08:09 -08:00
powerpc powerpc/pmap: Add pmap_sync_icache() for radix pmap 2023-03-15 16:31:40 -04:00
riscv Revert "netlink: add NETLINK to GENERIC." 2023-02-27 16:33:29 +00:00
rpc
security
sys _endian.h: Include sys/cdefs.h for visibility macros 2023-03-23 00:39:30 -06:00
teken
tests
tools
ufs ufs: Rework shortlink handling to avoid subobject overflows 2023-01-24 14:49:19 -07:00
vm vm_fault: Fix a race in vm_fault_soft_fast() 2023-02-27 10:58:34 -05:00
x86 apic: prevent divide by zero in CPU frequency init 2023-03-02 10:09:47 -07:00
xdr xdr: store chars consistently 2023-01-18 19:13:15 +00:00
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.

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