wireguard/siphash patches for 5.16-rc6
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | wireguard: allowedips: add missing __rcu annotation to satisfy sparsedrivers/ | +1 | 0 replies | |
| 2/10 | wireguard: selftests: increase default dmesg log sizetools/ | +1 | 0 replies | |
| 3/10 | wireguard: selftests: actually test for routing loopstools/ | +5 | 0 replies | |
| 4/10 | wireguard: main: rename 'mod_init' & 'mod_exit' functions to be module-specificdrivers/ | +4 | 0 replies | |
| 5/10 | wireguard: selftests: rename DEBUG_PI_LIST to DEBUG_PLISTtools/ | +1 | 0 replies | |
| 6/10 | wireguard: device: reset peer src endpoint when netns exitsdrivers/ drivers/ include/ +2 more | +57 | 1 reply | |
| 7/10 | wireguard: receive: use ring buffer for incoming handshakesdrivers/ drivers/ drivers/ +2 more | +37 | 0 replies | |
| 8/10 | wireguard: receive: drop handshakes if queue lock is contendeddrivers/ | +13 | 0 replies | |
| 9/10 | wireguard: ratelimiter: use kvcalloc() instead of kvzalloc()drivers/ | +2 | 0 replies | |
| 10/10 | siphash: use _unaligned version by defaultinclude/ lib/ | +10 | 0 replies |
Reviews trailers per patch
2 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Jason A. Donenfeld | Ard Biesheuvel | Hangbin Liu | Toke Høiland-Jørgensen |
|---|---|---|---|---|
| 1/10 | ||||
| 2/10 | ||||
| 3/10 | ||||
| 4/10 | ||||
| 5/10 | ||||
| 6/10 | Test-by | A-b | ||
| 7/10 | ||||
| 8/10 | ||||
| 9/10 | ||||
| 10/10 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH net 00/10] wireguard/siphash patches for 5.16-rc6
Hi Dave/Jakub,
Here's quite a largeish set of stable patches I've had queued up and testing for a number of months now:
- Patch (1) squelches a sparse warning by fixing an annotation.
- Patches (2), (3), and (5) are minor improvements and fixes to the test suite.
- Patch (4) is part of a tree-wide cleanup to have module-specific init and exit functions.
- Patch (6) fixes a an issue with dangling dst references, by having a function to release references immediately rather than deferring, and adds an associated test case to prevent this from regressing.
- Patches (7) and (8) help mitigate somewhat a potential DoS on the ingress path due to the use of skb_list's locking hitting contention on multiple cores by switching to using a ring buffer and dropping packets on contention rather than locking up another core spinning.
- Patch (9) switches kvzalloc to kvcalloc for better form.
- Patch (10) fixes alignment traps in siphash with clang-13 (and maybe other compilers) on armv6, by switching to using the unaligned functions by default instead of the aligned functions by default.
Thanks,
Jason
Arnd Bergmann (1):
siphash: use _unaligned version by default
Gustavo A. R. Silva (1):
wireguard: ratelimiter: use kvcalloc() instead of kvzalloc()
Jason A. Donenfeld (6):
wireguard: allowedips: add missing __rcu annotation to satisfy sparse
wireguard: selftests: increase default dmesg log size
wireguard: selftests: actually test for routing loops
wireguard: device: reset peer src endpoint when netns exits
wireguard: receive: use ring buffer for incoming handshakes
wireguard: receive: drop handshakes if queue lock is contended
Li Zhijian (1):
wireguard: selftests: rename DEBUG_PI_LIST to DEBUG_PLIST
Randy Dunlap (1):
wireguard: main: rename 'mod_init' & 'mod_exit' functions to be
module-specific
drivers/net/wireguard/allowedips.c | 2 +- drivers/net/wireguard/device.c | 39 ++++++++++--------- drivers/net/wireguard/device.h | 9 ++--- drivers/net/wireguard/main.c | 8 ++-- drivers/net/wireguard/queueing.c | 6 +-- drivers/net/wireguard/queueing.h | 2 +- drivers/net/wireguard/ratelimiter.c | 4 +- drivers/net/wireguard/receive.c | 39 +++++++++++-------- drivers/net/wireguard/socket.c | 2 +- include/linux/siphash.h | 14 ++----- include/net/dst_cache.h | 11 ++++++ lib/siphash.c | 12 +++--- net/core/dst_cache.c | 19 +++++++++ tools/testing/selftests/wireguard/netns.sh | 30 +++++++++++++- .../selftests/wireguard/qemu/debug.config | 2 +- .../selftests/wireguard/qemu/kernel.config | 1 + 16 files changed, 129 insertions(+), 71 deletions(-)
Signature · 1 line
2.34.1