diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-25 10:45:39 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-25 19:31:23 -0400 |
commit | cb7cd32a7c47151c161603cdc8a1c21f48550a65 (patch) | |
tree | 8180b39cfbabb320f80bd3bcc30565151bb00960 /TODO.md | |
parent | wg_noise: compile on 32-bit (diff) | |
download | wireguard-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.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |