1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
Mikolaj Golub fc06cd427e Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid
inp_socket->so_options dereference when we may not acquire the lock on
the inpcb.

This fixes the crash due to NULL pointer dereference in
in_pcbbind_setup() when inp_socket->so_options in a pcb returned by
in_pcblookup_local() was checked.

Reported by:	dave jones <s.dave.jones@gmail.com>, Arnaud Lacombe <lacombar@gmail.com>
Suggested by:	rwatson
Glanced by:	rwatson
Tested by:	dave jones <s.dave.jones@gmail.com>
2011-11-06 10:47:20 +00:00
..
amd64 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and 2011-11-01 21:26:57 +00:00
arm - Import the common MII bitbang'ing code from NetBSD and convert drivers to 2011-11-01 16:13:59 +00:00
boot Remove the remnants of /stand/sysinstall. 2011-11-03 12:03:03 +00:00
bsm
cam Add descriptor sense support to CAM, and honor sense residuals properly in 2011-10-03 20:32:55 +00:00
cddl Correct typo in comment. 2011-11-05 16:44:25 +00:00
compat Regen. 2011-11-04 04:06:31 +00:00
conf Add KLD_DEBUG option. 2011-11-06 08:10:41 +00:00
contrib Add missing PF_UNLOCK in pf_test 2011-10-30 14:55:00 +00:00
crypto Update Copyright. 2011-10-27 14:15:26 +00:00
ddb
dev Implement the sysctl's for fibre channel that are listed in the man page. 2011-11-06 00:44:40 +00:00
fs Fix typo. 2011-11-05 09:04:13 +00:00
gdb
geom Add mutex and two flags to make orphan() call properly asynchronous: 2011-11-02 09:24:59 +00:00
gnu
i386 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and 2011-11-01 21:26:57 +00:00
ia64 Adjust the debugger options slightly. This should help me do the right 2011-10-27 13:07:49 +00:00
isa
kern Add KLD_DEBUG option. 2011-11-06 08:10:41 +00:00
kgssapi Add missing break statement to make sure all 3DES etypes really are treated 2011-10-10 09:13:07 +00:00
libkern Add strnlen() to libkern. 2011-10-04 23:53:47 +00:00
mips Add support for VM_ALLOC_WIRED and VM_ALLOC_ZERO to vm_page_alloc_freelist() 2011-11-02 05:42:51 +00:00
modules Always use the opt_*.h options for ipfw.ko, not just when 2011-11-04 16:24:19 +00:00
net Fix a use-after-free/redzone issue in the routing code. 2011-11-03 18:33:30 +00:00
net80211 Include the tid when printing out crypto replay errors. 2011-10-28 15:47:14 +00:00
netatalk
netgraph - Fix potential double mbuf free: M_PREPEND may free mbuf chain and return 2011-11-06 05:24:54 +00:00
netinet Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid 2011-11-06 10:47:20 +00:00
netinet6 Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid 2011-11-06 10:47:20 +00:00
netipsec Add missing va_end() in an error case to clean up after va_start() 2011-10-07 21:00:26 +00:00
netipx
netnatm
netncp Change ncp_scan_bindery_object() to pass a constant search string. 2011-10-16 08:44:03 +00:00
netsmb
nfs In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
nfsclient
nfsserver
nlm In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
ofed - change "is is" to "is" or "it is" 2011-10-16 14:30:28 +00:00
opencrypto
pc98 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and 2011-11-01 21:26:57 +00:00
pci - Import the common MII bitbang'ing code from NetBSD and convert drivers to 2011-11-01 16:13:59 +00:00
powerpc Adjust the debugger options slightly. This should help me do the right 2011-10-27 13:07:49 +00:00
rpc Both a crash reported on freebsd-current on Oct. 18 under the 2011-11-03 14:38:03 +00:00
security Get rid of D_PSEUDO. 2011-10-18 08:09:44 +00:00
sparc64 Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and 2011-11-01 21:26:57 +00:00
sys Silence an (otherwise harmless) very recurrent warning when building the 2011-11-04 15:34:31 +00:00
teken Link the demo application against ncursesw to make Unicode work. 2011-10-13 14:20:27 +00:00
tools
ufs Fix the wrong commit log message for r226967: "Added missing cache purge 2011-10-31 20:24:33 +00:00
vm Wake up the page daemon in vm_page_alloc_freelist() if it couldn't 2011-11-06 02:03:27 +00:00
x86 Ignore SRAT memory entries if the memory range does not overlap with an 2011-10-05 16:03:47 +00:00
xdr
xen Properly handle suspend/resume events in the Xen device 2011-09-20 23:44:34 +00:00
Makefile