diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-09-12 08:43:15 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-09-12 08:43:15 +0000 |
commit | 57c3f45ab7dfcc34c6e67d82bbf93995541fe57f (patch) | |
tree | ebbd9578a76738cad74ee447825e009e85fc80b2 /etc | |
parent | a03731a3adb73bebc5c713b78dfda71e38dd18da (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