diff options
author | 2012-10-17 05:07:55 +0000 | |
---|---|---|
committer | 2012-10-17 05:07:55 +0000 | |
commit | 5720a504bceff4de2b76c2cc37a470c3456b6362 (patch) | |
tree | 6b43d4c19f984e547d709e7ea28d359973a69e4e /lib/libc | |
parent | If a thread calls __threxit() or _exit() immediately after another (diff) | |
download | wireguard-openbsd-5720a504bceff4de2b76c2cc37a470c3456b6362.tar.xz wireguard-openbsd-5720a504bceff4de2b76c2cc37a470c3456b6362.zip |
In sys_accept(), don't sleep between pulling the new socket from the
queue and calling soaccept(), so that the socket can't get torn down
by a TCP RST in the middle and trigger "panic: soaccept: !NOFDREF", as
seen by halex@
Analysis, original diff, and ok bluhm@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions