cvs commit: src/sys/kern uipc_socket.c
Mohan Srinivasan
mohans at FreeBSD.org
Wed Nov 22 23:06:28 UTC 2006
mohans 2006-11-22 23:06:27 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6_2)
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.
Approved by: re
Revision Changes Path
1.242.2.6.2.1 +23 -23 src/sys/kern/uipc_socket.c
More information about the cvs-src
mailing list