diff options
author | Jann Horn <jann@thejh.net> | 2018-08-01 04:18:27 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-08-01 05:53:31 +0200 |
commit | 547194e48035f064ddebcf6ef7285229e38a025d (patch) | |
tree | c1eb840af9c62c4049fa420c69379820039a6a05 /src/hashtables.c | |
parent | allowedips: prevent double read in kref (diff) | |
download | wireguard-monolithic-historical-547194e48035f064ddebcf6ef7285229e38a025d.tar.xz wireguard-monolithic-historical-547194e48035f064ddebcf6ef7285229e38a025d.zip |
allowedips: avoid window of disappeared peer
If a peer is removed, it's possible for a lookup to momentarily return
NULL, resulting in needless -ENOKEY returns.
Signed-off-by: Jann Horn <jannh@google.com>
Diffstat (limited to 'src/hashtables.c')
0 files changed, 0 insertions, 0 deletions