freebsd-dev/sys
Alexander V. Chernikov 41e66f4eca Add rib subscription API.
Currently there is no easy way of subscribing for the routing table changes.
The only existing way is to set ifa_rtrequest callback in the each protocol
 ifaddr, which is not convenient or extandable.

This change provides generic notification subscription mechanism, that will
 replace current ifa_rtrequest one and allow other applications such as
 accelerated routing lookup modules subscribe for the changes.

In particular, this change provides 2 hooks: 1) synchronous one
 (RIB_NOTIFY_IMMEDIATE), called under RIB_WLOCK, which ensures exact
 ordering of the changes and 2) async one, (RIB_NOTIFY_DELAYED)
 that is called after the change w/o holding locks. The latter one does not
 provide any notification ordering guarantee.

Differential Revision:  https://reviews.freebsd.org/D25070
2020-06-01 21:52:24 +00:00
..
amd64 Handle getcpu() calls in vsyscall emulation on amd64. 2020-05-31 18:20:20 +00:00
arm Remove remnant of arm's ELF trampoline 2020-05-31 14:43:04 +00:00
arm64 Remove remnant of arm's ELF trampoline 2020-05-31 14:43:04 +00:00
bsm bsm: add AUE_CLOSERANGE 2020-04-24 01:27:25 +00:00
cam Remove session locking from cfiscsi_pdu_update_cmdsn(). 2020-05-29 17:52:20 +00:00
cddl Fix entering KDB with dtrace-enabled kernel. 2020-05-26 16:44:05 +00:00
compat Update the files created from the new syscalls.master from r361599. 2020-05-28 21:23:02 +00:00
conf [PowerPC] Fix build-id note on powerpc64 kernel 2020-06-01 19:40:59 +00:00
contrib MFV: r361597 2020-05-28 21:19:44 +00:00
crypto Change return types of hash update functions in SHA-NI 2020-05-28 09:13:20 +00:00
ddb kernel: provide panicky version of __unreachable 2020-05-13 18:07:37 +00:00
dev netmap: if_vtnet: avoid netmap ring wraparound 2020-06-01 16:14:29 +00:00
dts allwinner: aw_thermal: Cope with DTS changes 2020-04-14 19:05:17 +00:00
fs Fix NOINET6 build broken by r361575. 2020-05-28 09:52:28 +00:00
gdb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
geom geom_part: Dispatch to partitions to create providers and aliases 2020-05-29 19:44:18 +00:00
gnu dts: Import DTS from Linux 5.6 2020-04-14 18:57:00 +00:00
i386 Fix boot on systems where NUMA domain 0 is unpopulated. 2020-05-28 19:41:00 +00:00
isa
kern Assign default security flavor when converting old export args 2020-06-01 18:43:51 +00:00
kgssapi Add support for optional separate output buffers to in-kernel crypto. 2020-05-25 22:12:04 +00:00
libkern libkern: Add arc4random_uniform 2020-05-23 17:51:06 +00:00
mips [mips] fix up the assembly generation of unaligned exception loads 2020-05-29 00:05:43 +00:00
modules Fix directly building in sys/modules 2020-05-31 05:02:15 +00:00
net Add rib subscription API. 2020-06-01 21:52:24 +00:00
net80211 [net80211] Fix interrupted scan logic and ticks comparison 2020-05-27 18:32:12 +00:00
netgraph Fix check for wMaxPacketSize in USB bluetooth driver, 2020-05-28 08:41:18 +00:00
netinet * Add rib_<add|del|change>_route() functions to manipulate the routing table. 2020-06-01 20:49:42 +00:00
netinet6 * Add rib_<add|del|change>_route() functions to manipulate the routing table. 2020-06-01 20:49:42 +00:00
netipsec Consistently include opt_ipsec.h for consumers of <netipsec/ipsec.h>. 2020-05-29 19:22:40 +00:00
netpfil Fix O_IP_FLOW_LOOKUP opcode handling. 2020-05-29 10:37:42 +00:00
netsmb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
nfs Use epoch(9) for rtentries to simplify control plane operations. 2020-05-23 10:21:02 +00:00
nfsclient
nfsserver
nlm Make nfslockd depend on xdr. 2020-04-23 09:37:22 +00:00
ofed Convert OFED rtable interactions to the new routing KPI. 2020-04-15 13:06:55 +00:00
opencrypto Increment the correct pointer when a crypto buffer spans an mbuf or iovec. 2020-05-29 05:41:21 +00:00
powerpc powerpc: Stop advertising that POWER8 and POWER9 support HTM 2020-05-29 00:46:31 +00:00
riscv Remove remnant of arm's ELF trampoline 2020-05-31 14:43:04 +00:00
rpc Add the .h file that describes the operations for the rpctls_syscall. 2020-05-31 01:12:52 +00:00
security Deduplicate fsid comparisons 2020-05-21 01:55:35 +00:00
sys Remove ->f_label from struct file 2020-06-01 15:58:22 +00:00
teken
tests Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
tools
ufs This commit enables a UFS filesystem to do a forcible unmount when 2020-05-25 23:47:31 +00:00
vm uma: hide item_domain under ifdef NUMA 2020-05-29 08:30:35 +00:00
x86 xenpv: do not use low 1MB for Xen mappings on i386 2020-05-28 08:18:34 +00:00
xdr Split XDR into separate kernel module. Make krpc depend on xdr. 2020-04-17 06:04:20 +00:00
xen Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many) 2020-02-25 19:04:39 +00:00
Makefile Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00