Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: wrstuden
Date: Thu Sep 4 16:44:06 UTC 2003
Modified Files:
src/sys/kern: uipc_socket.c
src/sys/sys: socketvar.h
Log Message:
Adjust struct sockbuf and sorflush() so that we don't zero out
every field; some need to stay around.
Fixes a bug where by calling shutdown() on a socket with knotes
will cause the kernel to panic when the kernel closes the socket.
Other access, such as calling kevent() may also trigger the panic.
Debugged with help from Jason and Allen. Patch reviewed by same plus
Itojun and Matt Thomas.
This problem seems to be the same one that FreeBSD saw in their PR
number 54331.
Kernel version _not_ bumped as we will piggyback the bump earlier today.
To generate a diff of this commit:
cvs rdiff -r1.85 -r1.86 src/sys/kern/uipc_socket.c
cvs rdiff -r1.65 -r1.66 src/sys/sys/socketvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index