aboutsummaryrefslogtreecommitdiffstats
path: root/TODO.md
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-04-25 10:45:39 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2021-04-25 19:31:23 -0400
commitcb7cd32a7c47151c161603cdc8a1c21f48550a65 (patch)
tree8180b39cfbabb320f80bd3bcc30565151bb00960 /TODO.md
parentwg_noise: compile on 32-bit (diff)
downloadwireguard-freebsd-cb7cd32a7c47151c161603cdc8a1c21f48550a65.tar.xz
wireguard-freebsd-cb7cd32a7c47151c161603cdc8a1c21f48550a65.zip
if_wg: do not increment error counter when sc is null
If sc is null, jumping to increment the counter means crash. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--TODO.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index 36756c9..b4377e2 100644
--- a/TODO.md
+++ b/TODO.md
@@ -7,6 +7,11 @@
FreeBSD, just `capable()`, which makes it a bit weird for one jail to have
permissions in another.)
- Make code style consistent with one FreeBSD way, rather than a mix of styles.
+- Send ICMP messages at the proper place.
+- 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's a lot of
+ weirdness with `wg_transmit`/`wg_output` to deal with.
### Crypto TODO