summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-09-12 08:43:15 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-09-12 08:43:15 +0000
commit57c3f45ab7dfcc34c6e67d82bbf93995541fe57f (patch)
treeebbd9578a76738cad74ee447825e009e85fc80b2 /etc
parenta03731a3adb73bebc5c713b78dfda71e38dd18da (diff)
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 'etc')
0 files changed, 0 insertions, 0 deletions