wireguard fixes for 5.7-rc5
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | wireguard: selftests: use normal kernel stack size on ppc64tools/ | +1 | 0 replies | |
| 2/5 | wireguard: socket: remove errant restriction on looping to selfdrivers/ tools/ | +51 | 0 replies | |
| 3/5 | wireguard: send/receive: cond_resched() when processing worker ringbuffersdrivers/ drivers/ | +6 | 0 replies | |
| 4/5 | wireguard: selftests: initalize ipv6 members to NULL to squelch clang warningdrivers/ | +2 | 0 replies | |
| 5/5 | wireguard: send/receive: use explicit unlikely branch instead of implicit coalescingdrivers/ drivers/ | +12 | 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.7-rc5
Hi Dave,
With Ubuntu and Debian having backported this into their kernels, we're finally seeing testing from places we hadn't seen prior, which is nice. With that comes more fixes:
1) The CI for PPC64 was running with extremely small stacks for 64-bit, causing spurious crashes in surprising places.
2) There's was an old leftover routing loop restriction, which no longer makes sense given the queueing architecture, and was causing problems for people who really did want nested routing.
3) Not yielding our kthread on CONFIG_PREEMPT_VOLUNTARY systems caused RCU stalls and other issues, reported by Wang Jian, with the fix suggested by Sultan Alsawaf.
4) Clang spewed warnings in a selftest for CONFIG_IPV6=n, reported by Arnd Bergmann.
5) A complicated if statement was simplified to an assignment while also making the likely/unlikely hinting more correct and simple, and increasing readability, suggested by Sultan.
Patches (2) and (3) have Fixes: lines and are probably good candidates for stable.
Thanks,
Jason
Jason A. Donenfeld (5):
wireguard: selftests: use normal kernel stack size on ppc64
wireguard: socket: remove errant restriction on looping to self
wireguard: send/receive: cond_resched() when processing worker
ringbuffers
wireguard: selftests: initalize ipv6 members to NULL to squelch clang
warning
wireguard: send/receive: use explicit unlikely branch instead of
implicit coalescing
drivers/net/wireguard/receive.c | 15 +++--- drivers/net/wireguard/selftest/ratelimiter.c | 4 +- drivers/net/wireguard/send.c | 19 +++---- drivers/net/wireguard/socket.c | 12 ----- tools/testing/selftests/wireguard/netns.sh | 54 +++++++++++++++++-- .../wireguard/qemu/arch/powerpc64le.config | 1 + 6 files changed, 72 insertions(+), 33 deletions(-)
Signature · 1 line
2.26.2