Skip to content

WireGuard bug fixes and cleanups

Jason A. Donenfeld netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3wireguard: selftests: remove ancient kernel compatibility codetools/testing/selftests/wireguard/netns.sh tools/testing/selftests/wireguard/qemu/Makefile tools/testing/selftests/wireguard/qemu/arch/m68k.config +2 more+50 -480 replies
2/3wireguard: queueing: do not account for pfmemalloc when clearing skb headerdrivers/net/wireguard/queueing.h+0 -30 replies
3/3wireguard: socket: mark skbs as not on list when receiving via grodrivers/net/wireguard/socket.c+1 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchYaroslav Furman
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] WireGuard bug fixes and cleanups

I've been working through some personal notes and also the whole git repo history of the out-of-tree module, looking for places where tradeoffs were made (and subsequently forgotten about) for old kernels. The first two patches in this series clean up those. The first one does so in the self-tests and self-test harness, where we're now able to expand test coverage by a bit, and we're now cooking away tests on every commit to both the wireguard-linux repo and to net-next. The second one removes a workaround for a skbuff.h bug that was fixed long ago. Finally, the last patch in the series fixes in a bug unearthed by newer Qualcomm chipsets running the rmnet_perf driver, which does UDP GRO.

Jason A. Donenfeld (3):
wireguard: selftests: remove ancient kernel compatibility code
wireguard: queueing: do not account for pfmemalloc when clearing skb
header
wireguard: socket: mark skbs as not on list when receiving via gro

 drivers/net/wireguard/queueing.h              |  3 -
 drivers/net/wireguard/socket.c                |  1 +
 tools/testing/selftests/wireguard/netns.sh    | 11 +--
 .../testing/selftests/wireguard/qemu/Makefile | 82 ++++++++++---------
 .../selftests/wireguard/qemu/arch/m68k.config |  2 +-
 tools/testing/selftests/wireguard/qemu/init.c |  1 +
 .../selftests/wireguard/qemu/kernel.config    |  2 +
 7 files changed, 51 insertions(+), 51 deletions(-)
Signature · 1 line
2.24.1