summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/raw_ip6.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-06-01 16:04:46 +0000
committertedu <tedu@openbsd.org>2013-06-01 16:04:46 +0000
commit78aa712ea0775a38fe176de2112a229f97dbe677 (patch)
treece620d292ca0ee44cf78fea100fbefda8f5f71ec /sys/netinet6/raw_ip6.c
parentMinor cleanup, do not set values to 0 twice. (diff)
downloadwireguard-openbsd-78aa712ea0775a38fe176de2112a229f97dbe677.tar.xz
wireguard-openbsd-78aa712ea0775a38fe176de2112a229f97dbe677.zip
As found by kurt, there's a twisty race between exit1 and fork1
with threaded processes. Fix this by checking for an attempt to go single threaded in fork1 and account for the new thread as well. ok espie guenther kurt
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
0 files changed, 0 insertions, 0 deletions