freebsd-nq/sys
Robert Drehmel 4e19fe1081 To avoid a kernel panic provoked by a NULL pointer dereference,
do not clear the `sb_sel' member of the sockbuf structure
while invalidating the receive sockbuf in sorflush(), called
from soshutdown().

The panic was reproduceable from user land by attaching a knote
with EVFILT_READ filters to a socket, disabling further reads
from it using shutdown(2), and then closing it.  knote_remove()
was called to remove all knotes from the socket file descriptor
by detaching each using its associated filterops' detach call-
back function, sordetach() in this case, which tried to remove
itself from the invalidated sockbuf's klist (sb_sel.si_note).

PR:	kern/54331
2003-07-17 23:49:10 +00:00
..
alpha Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 00:11:04 +00:00
amd64 Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 00:11:04 +00:00
arm sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
boot Fix the ski loader, broken by the gcc upgrade. Update the linker 2003-07-17 01:49:59 +00:00
cam Add quirk entry for IntelligentStick disc-on-key USB devices. 2003-07-17 15:33:08 +00:00
coda Remove in toto coda_strategy which incorrectly implemented vop_panic(); 2003-06-15 18:45:15 +00:00
compat Don't map LINUX_POSIX_VDISABLE to _POSIX_VDISABLE and vice versa for 2003-06-28 19:32:07 +00:00
conf make usb bus_dma aware. 2003-07-15 22:42:37 +00:00
contrib Fix the ACPI_DEBUG build for the non-module case. Move the #define into 2003-07-15 19:18:41 +00:00
crypto Use __FBSDID(). 2003-06-10 21:44:29 +00:00
ddb Rename P_THREADED to P_SA. P_SA means a process is using scheduler 2003-06-15 00:31:24 +00:00
dev Style(9) cleanup. There was no consistent style in this driver, and 2003-07-17 19:37:56 +00:00
fs If bread() returns a zero-length buffer, as can happen after a 2003-07-03 14:54:47 +00:00
geom Handle geoms which are withering away specially in the dump functions. 2003-07-08 21:12:40 +00:00
gnu Add the same KASSERT to all VOP_STRATEGY and VOP_SPECSTRATEGY implementations 2003-06-15 18:53:00 +00:00
i4b Mega busdma API commit. 2003-07-01 15:52:06 +00:00
i386 Now that the dust has settled, make dflt_lock() always panic. 2003-07-17 16:07:46 +00:00
ia64 Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 04:43:33 +00:00
isa Add support for the A4 Tech RFSW-35 mouse wheel. Probe is similar to 2003-07-12 18:36:04 +00:00
isofs/cd9660 change dev_t to struct cdev * to match ufs. This fixes fstat for cd9660 2003-06-24 22:11:20 +00:00
kern To avoid a kernel panic provoked by a NULL pointer dereference, 2003-07-17 23:49:10 +00:00
libkern Use __FBSDID(). 2003-06-11 05:37:42 +00:00
modules make usb bus_dma aware. 2003-07-15 22:42:37 +00:00
net Implement an utility function that can be used by device drivers to 2003-07-15 10:37:09 +00:00
net80211 insure ic_bss always has a "valid" channel; avoids problems where users could 2003-06-29 20:13:38 +00:00
netatalk
netatm Use __FBSDID(). 2003-06-11 07:22:30 +00:00
netgraph add missing machine/bus.h that is necessary to build now that usb is bus_dma 2003-07-16 03:43:14 +00:00
netinet Drop Giant around syncache timer processing. 2003-07-17 11:19:25 +00:00
netinet6 Do not attempt to access to inp_socket fields if the socket is in the TIME_WAIT 2003-06-17 00:31:30 +00:00
netipsec consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
netipx Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netkey Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netnatm Instead of returning an error call the ioctl() handler of the interface 2003-07-15 15:51:50 +00:00
netncp Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netsmb Add a f_vnode field to struct file. 2003-06-22 08:41:43 +00:00
nfs
nfsclient Change idle sleep indentifier to "-" for nfsiod 2003-07-02 08:09:20 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 00:11:04 +00:00
pccard OLDCARD is OBSOLETE_IN_6. Tag it as such. 2003-06-12 04:46:43 +00:00
pci Add support for the 8139C+ chipset. Unlike the other chips in the 8139 2003-07-10 20:38:48 +00:00
posix4 Use __FBSDID(). 2003-06-11 06:34:30 +00:00
powerpc Rename thread_siginfo to cpu_thread_siginfo. 2003-07-15 00:11:04 +00:00
rpc
security Remove trailing whitespace. 2003-07-05 01:24:36 +00:00
sparc64 Avoid exposing declarations for kernel variables to userland. 2003-07-17 23:42:08 +00:00
sys To avoid a kernel panic provoked by a NULL pointer dereference, 2003-07-17 23:49:10 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs We just cached the inode pointer, no need to call VTOI() again. 2003-07-04 12:16:33 +00:00
vm Make sure that SWP_NPAGES always has the same value in all source 2003-07-17 21:58:43 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00