freebsd-dev/sys
Andrey V. Elsukov 221022e190 Add the check that current VNET is ready and access to srchash is
allowed.

ipsec_srcaddr() callback can be called during VNET teardown, since
ingress address checking subsystem isn't VNET specific. And thus
callback can make access to already freed memory. To prevent this,
use V_ipsec_idhtbl pointer as indicator of VNET readiness. And make
epoch_wait() after resetting it to NULL in vnet_ipsec_uninit() to
be sure that ipsec_srcaddr() is finished its work.

Reported by:	kp
MFC after:	20 days
2018-10-23 13:03:03 +00:00
..
amd64 amd64: finish the tail in memset with an overlapping store 2018-10-22 06:44:20 +00:00
arm Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
arm64 Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
bsm
cam Retire scsi_low 2018-10-22 02:36:07 +00:00
cddl powerpc/dtrace: Use explicit bit numbers to mask out PSL_EE 2018-10-21 02:08:57 +00:00
compat Remove __restrict qualifiers from syscalls.master. 2018-10-22 21:50:43 +00:00
conf netmap: align codebase to the current upstream (sha 8374e1a7e6941) 2018-10-23 08:55:16 +00:00
contrib Update to Zstandard 1.3.7 2018-10-22 18:29:12 +00:00
crypto Add explicit copyright text to trivial header 2018-10-22 01:27:11 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev Fix ipw_start(), where logic was reverted in r287197. 2018-10-23 12:53:09 +00:00
dts Revert r339421 due to unintended files included to commit. 2018-10-18 15:17:58 +00:00
fs nfsrvd_readdirplus: for some errors, do not fail the entire request 2018-10-22 15:33:05 +00:00
gdb
geom MFH r338661 through r339200. 2018-10-05 17:53:47 +00:00
gnu dts: Import DTS for arm64 2018-08-23 13:21:01 +00:00
i386 Remove the ncr(4) drive. 2018-10-22 02:36:18 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern iflib: drain enqueued tasks before detaching from taskqgroup 2018-10-23 04:37:29 +00:00
kgssapi OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
modules Remove the ncr(4) drive. 2018-10-22 02:36:18 +00:00
net Add the check that current VNET is ready and access to srchash is 2018-10-23 13:03:03 +00:00
net80211 Fix misspellings of transmitter/transmitted 2018-08-10 20:37:32 +00:00
netgraph Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
netinet A couple of style fixes in recent TCP changes. 2018-10-22 21:17:36 +00:00
netinet6 Fix style bugs in in6_pcblookup_lbgroup(). 2018-10-22 16:09:01 +00:00
netipsec Add sadb_x_sa2 extension to SADB_ACQUIRE requests. 2018-10-21 14:19:16 +00:00
netpfil Do not decrement RST life time if keep_alive is not turned on. 2018-10-21 16:44:57 +00:00
netsmb Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
nfs Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
nfsclient
nfsserver
nlm
ofed Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00
opencrypto Add per-session locking to cryptosoft (swcr). 2018-09-26 20:23:12 +00:00
powerpc Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
riscv Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
rpc Set SO_SNDTIMEO in the client side krpc when CLSET_TIMEOUT is done. 2018-07-20 12:03:16 +00:00
security Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +00:00
sparc64 Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
sys Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
teken Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
tests epoch_test: fix compile 2018-07-15 00:31:17 +00:00
tools make_dtb: Always add root directory in the include path 2018-08-23 13:23:21 +00:00
ufs Correct panic messages. 2018-09-22 17:05:49 +00:00
vm Make it possible to disable NUMA support with a tunable. 2018-10-22 20:13:51 +00:00
x86 Consolidate identical ELF auxargs type defintions. 2018-10-22 22:24:32 +00:00
xdr
xen xen: legacy PVH fixes for the new interrupt count 2018-09-13 07:14:11 +00:00
Makefile