wireguard fixes for 5.6-rc7
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | wireguard: selftests: remove duplicated include <sys/types.h>tools/ | +0 | 0 replies | |
| 2/5 | wireguard: selftests: test using new 64-bit time_ttools/ tools/ | +1 | 0 replies | |
| 3/5 | wireguard: queueing: account for skb->protocol==0drivers/ drivers/ drivers/ | +10 | 0 replies | |
| 4/5 | wireguard: receive: remove dead code from default packet type casedrivers/ | +1 | 0 replies | |
| 5/5 | wireguard: noise: error out precomputed DH during handshake rather than configdrivers/ drivers/ drivers/ +2 more | +49 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/5] wireguard fixes for 5.6-rc7
Hi Dave,
I originally intended to spend this cycle working on fun optimizations and architecture for WireGuard for 5.7, but I've been a bit neurotic about having 5.6 ship without any show stopper bugs. WireGuard has been stable for a long time now, but that doesn't make me any less nervous about the real deal in 5.6. To that end, I've been doing code reviews and having discussions, and we also had a security firm audit the code. That audit didn't turn up any vulnerabilities, but they did make a good defense-in-depth suggestion. This series contains:
1) Removal of a duplicated header, from YueHaibing.
2) Testing with 64-bit time in our test suite.
3) Account for skb->protocol==0 due to AF_PACKET sockets, suggested by Florian Fainelli.
4) Clean up some code in an unreachable switch/case branch, suggested by Florian Fainelli.
5) Better handling of low-order points, discussed with Mathias Hall-Andersen.
Thanks,
Jason
Jason A. Donenfeld (4):
wireguard: selftests: test using new 64-bit time_t
wireguard: queueing: account for skb->protocol==0
wireguard: receive: remove dead code from default packet type case
wireguard: noise: error out precomputed DH during handshake rather
than config
YueHaibing (1):
wireguard: selftests: remove duplicated include <sys/types.h>
drivers/net/wireguard/device.c | 2 +- drivers/net/wireguard/netlink.c | 8 +-- drivers/net/wireguard/noise.c | 55 ++++++++++--------- drivers/net/wireguard/noise.h | 12 ++-- drivers/net/wireguard/peer.c | 7 +-- drivers/net/wireguard/queueing.h | 8 ++- drivers/net/wireguard/receive.c | 7 +-- tools/testing/selftests/wireguard/netns.sh | 6 -- .../testing/selftests/wireguard/qemu/Makefile | 2 +- tools/testing/selftests/wireguard/qemu/init.c | 1 - .../selftests/wireguard/qemu/kernel.config | 1 - 11 files changed, 51 insertions(+), 58 deletions(-)
Signature · 1 line
2.25.1