aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-05-03 17:09:09 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-05-03 19:55:50 +0200
commit31d3186a6d083c74e1a680f76076c8cc536f9246 (patch)
tree0be2f3cc5086184f667b6cb00fa854727fdbe71f
parentwg_noise: set handshake to dead before removing keypair (diff)
downloadwireguard-freebsd-31d3186a6d083c74e1a680f76076c8cc536f9246.tar.xz
wireguard-freebsd-31d3186a6d083c74e1a680f76076c8cc536f9246.zip
TODO: add note about excessive rw locks
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--TODO.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index 3a05550..99a4cbe 100644
--- a/TODO.md
+++ b/TODO.md
@@ -10,6 +10,7 @@
- Review all included headers, and minimize a bit.
- Figure out clear locking rules for network stack stuff -- when different
functions run under what locks and what they race with.
+- There are a few rwlocks that only ever wlock. Make these mtx instead.
### Crypto TODO