freebsd-src/sys
Lin Ma e30f7d9b9b netlink: add unregister call in cleanup
For protocols that use netlink (generic and route for now), the unint
handler seems to have forgotten to call unregister, which will cause
the assertion the next time the module is loaded.

This patch adds unregister call to netlink_unregister_proto() for those
handlers to avoid bad things happen.

Reviewed-by: melifaro
Fixes: 7e5bf68495 ("netlink: add netlink support")
Pull-request: https://github.com/freebsd/freebsd-src/pull/781
Signed-off-by: Lin Ma <linma@zju.edu.cn>
(cherry picked from commit 4bdf7f6951)
2023-09-25 09:45:06 -04:00
..
amd64 x86: Add defines for workaround bits in AMD's MSR "Decode Configuration" 2023-09-25 09:45:06 -04:00
arm release: update stable/14 following branching from main 2023-08-24 19:07:33 -04:00
arm64 arm64: Fix errata workarounds that depend on smccc 2023-09-25 12:01:28 +00:00
bsm timerfd: Move implementation from linux compat to sys/kern 2023-08-24 14:28:56 -06:00
cam cam/scsi_da: Bump deprecation one release. 2023-08-23 22:34:41 -06:00
cddl
compat linux(4): On Linux SIGKILL can not be reset to default 2023-09-25 13:18:55 +03:00
conf ice_ddp: Update to 1.3.35.0 2023-09-22 13:37:17 -07:00
contrib zfs: merge openzfs/zfs@5f3069867 (zfs-2.2-release) into stable/14 2023-09-25 00:55:30 +02:00
crypto ossl: Update the generated assembly files from OpenSSL 3.0. 2023-09-08 13:55:44 -07:00
ddb
dev vtgpu: Fix the physical memory size 2023-09-25 12:01:28 +00:00
dts
fs vfs: copy_file_range() between multiple mountpoints of the same fs type 2023-09-07 09:39:40 +02:00
gdb
geom Fix geom build with clang 17 and KTR enabled 2023-09-20 09:03:55 +02:00
gnu
i386 linux(4): Deduplicate mmap2 2023-09-12 10:48:56 +03:00
isa
kern vfs: fix reference counting/locking on LK_UPGRADE error 2023-09-24 10:44:11 +00:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@5f3069867 (zfs-2.2-release) into stable/14 2023-09-25 00:55:30 +02:00
net net: Check per-flow priority code point for untagged traffic 2023-09-20 12:04:57 +08:00
net80211
netgraph
netinet Fix padding in struct tcp_info 2023-09-22 10:57:03 -06:00
netinet6
netipsec
netlink netlink: add unregister call in cleanup 2023-09-25 09:45:06 -04:00
netpfil pf: fix state leak 2023-09-25 14:10:59 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ofed: mask seq_num identifier to occupy only 3 bytes 2023-08-22 16:09:13 -07:00
opencrypto
powerpc powerpc pmap: initialize kernel pmap radix trie 2023-09-19 21:09:37 -05:00
riscv release: update stable/14 following branching from main 2023-08-24 19:07:33 -04:00
rpc
security
sys kern: Globally define abs64 2023-09-18 21:13:45 +00:00
teken
tests
tools pccarddevs2h.awk: Remove 2023-09-17 08:34:41 -06:00
ufs ufs: restore name cache fast path lookup 2023-09-22 21:50:46 +00:00
vm add pmap_active_cpus() 2023-08-23 03:02:21 +03:00
x86 x86: Add defines for workaround bits in AMD's MSR "Decode Configuration" 2023-09-25 09:45:06 -04: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