Skip to content

wireguard patches for 5.20-rc1

Jason A. Donenfeld netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4wireguard: ratelimiter: use hrtimer in selftestdrivers/net/wireguard/selftest/ratelimiter.c kernel/time/hrtimer.c+15 -110 replies
2/4wireguard: selftests: update config fragmentstools/testing/selftests/wireguard/qemu/debug.config tools/testing/selftests/wireguard/qemu/kernel.config+0 -60 replies
3/4wireguard: allowedips: don't corrupt stack when detecting overflowdrivers/net/wireguard/allowedips.c drivers/net/wireguard/selftest/allowedips.c+9 -60 replies
4/4wireguard: selftests: support UMLtools/testing/selftests/wireguard/qemu/Makefile tools/testing/selftests/wireguard/qemu/arch/um.config+19 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH next-next 0/4] wireguard patches for 5.20-rc1

Hi Jakub,

I had planned to send these out eventually as net.git patches, but as you emailed earlier, I figure there's no harm in just doing this now for net-next.git. Please apply the following small fixes:

1) Rather than using msleep() in order to approximate ktime_get_coarse_ boottime_ns(), instead use an hrtimer, rounded heuristically.

2) An update in selftest config fragments, from Lukas.

3) Linus noticed that a debugging WARN_ON() to detect (impossible) stack corruption would still allow the corruption to happen, making it harder to get the report about the corruption subsequently.

4) Support for User Mode Linux in the test suite. This depends on some UML patches that are slated for 5.20. Richard hasn't sent his pull in, but they're in his tree, so I assume it'll happen.

Thanks,
Jason

Jason A. Donenfeld (3):
wireguard: ratelimiter: use hrtimer in selftest
wireguard: allowedips: don't corrupt stack when detecting overflow
wireguard: selftests: support UML

Lukas Bulwahn (1):
wireguard: selftests: update config fragments

 drivers/net/wireguard/allowedips.c            |  9 ++++---
 drivers/net/wireguard/selftest/allowedips.c   |  6 ++---
 drivers/net/wireguard/selftest/ratelimiter.c  | 25 +++++++++++--------
 kernel/time/hrtimer.c                         |  1 +
 .../testing/selftests/wireguard/qemu/Makefile | 17 ++++++++++++-
 .../selftests/wireguard/qemu/arch/um.config   |  3 +++
 .../selftests/wireguard/qemu/debug.config     |  5 ----
 .../selftests/wireguard/qemu/kernel.config    |  1 -
 8 files changed, 43 insertions(+), 24 deletions(-)
 create mode 100644 tools/testing/selftests/wireguard/qemu/arch/um.config
Signature · 1 line
2.35.1