diff options
author | andre <andre@FreeBSD.org> | 2012-11-27 20:04:52 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2012-11-27 20:04:52 +0000 |
commit | e323c318165801764db696c4d6d6d2f58c58e41d (patch) | |
tree | ee6ad3ab841f95b69714c855cbbeda4a95dbdc04 /contrib/diff/lib | |
parent | cd840ea089c3546a5cd705044efba4e7ec8621e7 (diff) | |
download | FreeBSD-src-e323c318165801764db696c4d6d6d2f58c58e41d.zip FreeBSD-src-e323c318165801764db696c4d6d6d2f58c58e41d.tar.gz |
Fix a race on listen socket teardown where while draining the
accept queues a new socket/connection may be added to the queue
due to a race on the ACCEPT_LOCK.
The submitted patch is slightly changed in comments, teardown
and locking order and extended with KASSERT's.
Submitted by: Vijay Singh <vijju.singh-at-gmail-dot-com>
Found by: His team.
MFC after: 1 week
Diffstat (limited to 'contrib/diff/lib')
0 files changed, 0 insertions, 0 deletions