summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-09-12 08:43:14 +0000
committermpi <mpi@openbsd.org>2017-09-12 08:43:14 +0000
commit49287a9833df9feabe619ce72dd9241ca0d9acb6 (patch)
treed53ba21324b1fbad5c76765670fac7b313c47d95 /lib
parentInclude room for NUL-termination when calculating the length of archive (diff)
downloadwireguard-openbsd-49287a9833df9feabe619ce72dd9241ca0d9acb6.tar.xz
wireguard-openbsd-49287a9833df9feabe619ce72dd9241ca0d9acb6.zip
Sleep for some time to avoid race reporting a different number of reference
count. Iterating over the routing table implies using SRP which bump the refcount of routes for a short period of time. Depending on how work is schedule the second ifconfig(8) command might run before the timer dereference the route. Should fix races on bluhm@'s test setup.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions