diff options
author | 2017-09-12 08:43:14 +0000 | |
---|---|---|
committer | 2017-09-12 08:43:14 +0000 | |
commit | 49287a9833df9feabe619ce72dd9241ca0d9acb6 (patch) | |
tree | d53ba21324b1fbad5c76765670fac7b313c47d95 /lib | |
parent | Include room for NUL-termination when calculating the length of archive (diff) | |
download | wireguard-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