diff options
author | 2013-10-19 11:11:24 +0000 | |
---|---|---|
committer | 2013-10-19 11:11:24 +0000 | |
commit | f35d2347b455658bd376a4e98cafb62c4ae259a5 (patch) | |
tree | 723ffd8d1ceff032d04669c8a28e6f0f653fd32d /lib/libc | |
parent | simplify checksum handling. no need to compute the pseudo hdr cksum (diff) | |
download | wireguard-openbsd-f35d2347b455658bd376a4e98cafb62c4ae259a5.tar.xz wireguard-openbsd-f35d2347b455658bd376a4e98cafb62c4ae259a5.zip |
When we attach an interface, do not try to reuse the last index to
limit the possible races related to unscheduled task, or anything
else, relying on an unique index.
I say "limit" here because a race can still occurs if you run out
of indexes and jump back to 1. A generation number can be added
later to avoid this problem.
ok deraadt@, claudio@, krw@, mikeb@, "I can live with it" reyk@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions