opnsense-src/sys
Maxim Shalomikhin 604d34c23f net: ether_gen_addr: fix address generation
Some errors in ether_gen_addr() caused us to generate MAC addresses out
of range, and the ones that were within range had other errors causing
the pool of addresses that we might actually generate to shrink.

Fix both prblems by using only two bytes of the digest and then OR'ing
against the mask, which has the appropriate byte set for the fourth
octet of the range already; essentially, our digest is only contributing
the last two octets.

Change is the author, but any blame for the commit message goes to
kevans.

PR:		256850
Relnotes:	yes
2025-07-02 14:33:52 -05:00
..
amd64 amd64 ddb 'show pte': print both pte VA in recursive map and pte content 2025-06-27 07:23:22 +03:00
arm nexus: Add device_shutdown where missing 2025-06-25 15:53:24 -04:00
arm64 arm64: Only set HCR_EL2.E2H when VHE is supported 2025-07-02 10:49:24 +01:00
bsm
cam mmc_da: fix garbage in disk->d_attachment 2025-06-27 10:19:15 +03:00
cddl
compat linuxkpi: Remove incorrect + 1 from HWEIGHT* macros 2025-06-24 18:42:16 -04:00
conf files: Fix builds without "options UFS_ACL" 2025-07-02 07:35:34 -07:00
contrib Revert "FreeBSD: zfs_putpages: don't undirty pages until after write completes" 2025-06-28 02:32:16 +00:00
crypto newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
ddb
dev md(4): move type-specific data under union 2025-07-02 18:32:58 +03:00
dts
fs files: Fix builds without "options UFS_ACL" 2025-07-02 07:35:34 -07:00
gdb
geom
gnu bwn(4): BWN_GPL_PHY: make compile again 2025-06-22 00:19:42 +00:00
i386 sys: Add AT_HWCAP3 and AT_HWCAP4 2025-06-24 17:26:40 +01:00
isa newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
kern linker: Fix the ifunc symbol value calculation for ET_REL files 2025-07-02 18:41:06 +00:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@69ee01aa4 2025-06-28 02:27:56 +02:00
net net: ether_gen_addr: fix address generation 2025-07-02 14:33:52 -05:00
net80211 net80211: in ieee80211_sta_join() only do_ht if HT is avail 2025-06-19 01:23:12 +00:00
netgraph
netinet tcp: remove an invalid KASSERT 2025-07-01 09:00:24 +02:00
netinet6 counter(9): rate limit periods may be more than 1 second 2025-06-25 19:56:22 +02:00
netipsec
netlink
netpfil pf: trade few 'goto unlock: for 'break' in pf_test() 2025-06-30 09:53:27 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
powerpc nexus: Add device_shutdown where missing 2025-06-25 15:53:24 -04:00
riscv nexus: Add device_shutdown where missing 2025-06-25 15:53:24 -04:00
rpc rpctls_impl.c: Fix handling of socket for daemon failure 2025-06-21 16:49:13 -07:00
security audit: move the wait from the queue length from the commit to alloc 2025-06-18 20:57:49 +03:00
sys fcntl.h: Add O_XATTR for Solaris compatibility 2025-07-01 08:12:42 -07:00
teken
tests
tools
ufs
vm vm_pageout: Make the OOM killer less aggressive 2025-06-27 13:14:22 +00:00
x86 sys: provide the kernel's pa when dumping on amd64 2025-06-22 06:49:32 +03: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(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures