cvs commit: src/sys/kern uipc_socket.c
Mohan Srinivasan
mohans at FreeBSD.org
Wed Nov 22 23:54:29 UTC 2006
mohans 2006-11-22 23:54:29 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_socket.c
Log:
Fix a race in soclose() where connections could be queued to the
listening socket after the pass that cleans those queues. This
results in these connections being orphaned (and leaked). The fix
is to clean up the so queues after detaching the socket from the
protocol. Thanks to ups and jhb for discussions and a thorough code
review.
Revision Changes Path
1.286 +26 -22 src/sys/kern/uipc_socket.c
More information about the cvs-src
mailing list