diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2008-06-03 14:45:06 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2008-06-03 14:45:06 +0000 |
commit | 4af9874148b61feb347eb59c1200da38653576c1 (patch) | |
tree | b435ad4a013d336332b7c2542765b8c2d4276f67 /lib/libpthread/arch | |
parent | e70f08b5652c86aa41ffd6d501e1cd28172dc64b (diff) |
Don't grab the fd read lock for getsockopt(2), setsockopt(2),
getpeername(2) or getsockname(2). Its not needed and causes
threads to block when another thread is blocked and holding the
read lock. Instead just protect against fd state transitions.
Blocking problem reported by David S H Rosenthal from lockss.org
okay beck@ "looks sane" deraadt@
Diffstat (limited to 'lib/libpthread/arch')
0 files changed, 0 insertions, 0 deletions