freebsd-dev/sys
Matt Macy 56713d16a0 acquire inp lock around ip6_pcbopt to fix IPV6_TCLASS panic
Simple fix to address panics relating to setting IPV6_TCLASS
with setsockopt(). The premise of this change is that it is
ok to call malloc with M_NOWAIT while holding a lock on the
in6p.

If it later turns out that it is not ok, then major surgery
will be required, as ip6_setpktopt() will have to be fixed
(as it also calls malloc with M_NOWAIT) which pulls in the
ip6_pcbopts(), ip6_setpktopts(), ip6_setpktopt() call chain.

Submitted by:	Jason Eggnet
Reviewed by:	rrs, transport, sbruno
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D16201
2018-07-15 00:47:06 +00:00
..
amd64 Expand x86 struct pcpus to UMA_PCPU_ALLOC_SIZE AKA PAGE_SIZE. 2018-07-06 19:50:44 +00:00
arm Eliminate an unused var warning-error; the var is used only when parsing 2018-07-14 16:33:11 +00:00
arm64 Enable UART support for Xilinx Ultrascale+ SoCs 2018-07-13 19:54:22 +00:00
bsm
cam remove unneeded inclusion of sys/interrupt.h from several files 2018-07-04 09:07:18 +00:00
cddl Fix up some missed and mis-merges from the sequential scan code 2018-07-10 20:11:32 +00:00
compat Regen after r336171. 2018-07-10 14:04:52 +00:00
conf Add config(8) options that can be used to enable building MAC/veriexec 2018-07-14 17:18:17 +00:00
contrib Correct the identifier for the Unifi Security Gateway 2018-07-10 17:01:19 +00:00
crypto Implement SHA2-224 submode of SHA2-256 2018-07-09 07:24:05 +00:00
ddb
dev Fix vnic fallback PHY name matching after r334880. 2018-07-14 16:06:53 +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 Fix the pNFS client when mirrors aren't on the same machine. 2018-07-14 19:51:44 +00:00
gdb
geom g_eli_key_cmp is used only in the kernel, so only define it in the 2018-07-13 18:21:38 +00:00
gnu dts: Update our copy to Linux 4.17 2018-06-14 07:12:10 +00:00
i386 Correct some typos. 2018-07-14 19:35:41 +00:00
isa
kern lockmgr: tidy up slock/sunlock similar to other locks 2018-07-13 22:40:14 +00:00
kgssapi
libkern Sync strlcpy with userland version, again 2018-06-21 17:35:13 +00:00
mips Invalidate the mapping before updating its physical address. 2018-07-13 17:12:50 +00:00
modules Remove RIPEMD-160 fingerprint modules for veriexec, since it has very 2018-07-14 16:59:17 +00:00
net pf: Fix typo in r336221 2018-07-12 18:07:28 +00:00
net80211 net80211: Fix ifdetach w/o ifattach, small whitespace cleanup 2018-07-10 23:30:19 +00:00
netgraph
netinet There was quite a bit of feedback on r336282 that has led to the 2018-07-14 23:53:51 +00:00
netinet6 acquire inp lock around ip6_pcbopt to fix IPV6_TCLASS panic 2018-07-15 00:47:06 +00:00
netipsec OCF: Add a typedef for session identifiers 2018-07-13 23:46:07 +00:00
netpfil pf: Fix synproxy 2018-07-14 10:14:59 +00:00
netsmb
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 Revert r335094 and properly fix OFED build after r335053. 2018-06-14 07:55:10 +00:00
opencrypto OCF: Add a typedef for session identifiers 2018-07-13 23:46:07 +00:00
powerpc powerpc/powernv: Make opal_i2c driver work with attached i2c drivers 2018-07-09 20:33:48 +00:00
riscv Invalidate the mapping before updating its physical address. 2018-07-14 20:14:00 +00:00
rpc Fix the server side krpc so that the kernel nfsd threads terminate. 2018-07-02 17:50:46 +00:00
security Add mpo_vnode_check_setmode MAC method to MAC/veriexec. 2018-07-14 17:21:16 +00:00
sparc64 Back pcpu zone with domain correct pages 2018-07-06 02:06:03 +00:00
sys Create helper functions for parsing boot args. 2018-07-13 16:43:05 +00:00
teken
tests epoch_test: fix compile 2018-07-15 00:31:17 +00:00
tools
ufs ffs_syncvnode: Remove unhelpful print 2018-07-14 15:45:11 +00:00
vm Add support for pmap_enter(..., psind=1) to the i386 pmap. In other words, 2018-07-14 17:20:27 +00:00
x86 Use the existing MSR_BIOS_SIGN on AMD. 2018-07-13 20:56:20 +00:00
xdr
xen
Makefile