Date: Wed, 22 Nov 2006 22:21:57 +0000 (UTC) From: Mohan Srinivasan <mohans@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200611222221.kAMMLvFr082237@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mohans 2006-11-22 22:21:57 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
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.7 +23 -23 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611222221.kAMMLvFr082237>
