freebsd-skq/sys
sbruno 19380865a3 fix locking within tcp_ipsec_pcbctl() to match ipsec4_pcbctl(), ipsec4_pcbctl()
IPSEC_PCBCTL() functions, which include tcp_ipsec_pcbctl(),
ipsec4_pcbctl(), and ipsec6_pcbctl(), should all have matching locking
semantics.

ipsec4_pcbctl() and ipsec6_pcbctl() expect the inp to be unlocked on
entry and exit and appear to be correctly implemented as such. But
tcp_ipsec_pcbctl() had other semantics. This patch fixes the semantics
for tcp_ipsec_pcbctl().

Submitted by:	Jason Eggleston <jason@eggnet.com>
MFH:		2 weeks
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D14623
2018-07-04 17:10:07 +00:00
..
amd64 Use 'e' instead of 'i' constraints with 64-bit atomic operations on amd64. 2018-07-03 22:03:28 +00:00
arm [rpi] Add support for the second PWM channel 2018-07-02 01:30:33 +00:00
arm64 Add stub arm64 linuxulator VDSO ldscript 2018-06-28 20:36:21 +00:00
bsm
cam remove unneeded inclusion of sys/interrupt.h from several files 2018-07-04 09:07:18 +00:00
cddl opensolaris compat: fix compile error 2018-07-03 23:45:02 +00:00
compat Regen after 335900. 2018-07-03 18:18:29 +00:00
conf Use OBJS_DEPEND_GUESS for forced opt_global.h dependency. 2018-07-04 00:18:36 +00:00
contrib MFV: r335802 2018-06-29 23:48:30 +00:00
crypto aesni(4): Fix {de,en}crypt operations that allocated a buffer 2018-06-23 18:20:17 +00:00
ddb Extend show proc with reaper, sigparent, and vmspace information 2018-05-25 13:59:48 +00:00
dev mxge: fix panic at module unload 2018-07-04 14:25:38 +00:00
dts Add spi-max-frequency properties to all spigen nodes. This is a required 2018-06-23 22:55:22 +00:00
fs Add an optional feature to the pNFS server. 2018-07-02 19:21:33 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom gpart: add EFI alias for MBR partition scheme 2018-06-17 20:10:48 +00:00
gnu dts: Update our copy to Linux 4.17 2018-06-14 07:12:10 +00:00
i386 inline atomics and allow tied modules to inline locks 2018-07-02 19:48:38 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern Add description to debug.ncores sysctl. 2018-07-04 17:06:51 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern Sync strlcpy with userland version, again 2018-06-21 17:35:13 +00:00
mips Support 2GB of memory on Malta systems with FreeBSD/mips. 2018-06-28 21:27:34 +00:00
modules META_MODE: Fix wanting a meta file in source tree. 2018-07-04 00:18:40 +00:00
net Revert r335833. 2018-07-04 03:36:46 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Catch up two more places to the V_ifnet change to a CK_STAILQ. 2018-05-24 00:06:55 +00:00
netinet - Fix a double unlock in inp_block_unblock_source() and 2018-07-04 06:47:34 +00:00
netinet6 fix 335919 - check "last" not "inp" where appropriate 2018-07-04 16:34:07 +00:00
netipsec fix locking within tcp_ipsec_pcbctl() to match ipsec4_pcbctl(), ipsec4_pcbctl() 2018-07-04 17:10:07 +00:00
netpfil Revert r335833. 2018-07-04 03:36:46 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +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 Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Revert r335094 and properly fix OFED build after r335053. 2018-06-14 07:55:10 +00:00
opencrypto cryptosoft: Do not exceed crd_len around *crypt_multi 2018-04-19 15:24:21 +00:00
powerpc Support multiple OPAL consoles, and don't crash if uart is not stdout 2018-06-29 19:35:25 +00:00
riscv Include UART driver since it is now provided in QEMU. 2018-06-29 10:55:42 +00:00
rpc Fix the server side krpc so that the kernel nfsd threads terminate. 2018-07-02 17:50:46 +00:00
security Fix build breakage in veriexec for 32-bit architectures. 2018-06-20 06:54:38 +00:00
sparc64 Define memmove and make bcopy alt entry point 2018-05-24 21:11:28 +00:00
sys FreeBSD_version: update for epoch(9) r335924 KPI change 2018-07-04 03:46:23 +00:00
teken teken: Fix sequences header which was crossing the 80-col boundary 2018-05-29 08:41:44 +00:00
tests epoch(9): Make epochs non-preemptible by default 2018-05-18 17:29:43 +00:00
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Create um_flags in the ufsmount structure to hold flags for a UFS filesystem. 2018-06-29 22:24:41 +00:00
vm inline atomics and allow tied modules to inline locks 2018-07-02 19:48:38 +00:00
x86 xen: obtain vCPU ID from CPUID 2018-06-26 15:00:54 +00:00
xdr
xen xen: remove dead code from gnttab.h 2018-05-25 08:44:00 +00:00
Makefile