Skip to content

wireguard fixes for 5.6-rc2

Jason A. Donenfeld netdev 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v23 patches 8 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4wireguard: selftests: reduce complexity and fix make racestools/testing/selftests/wireguard/qemu/Makefile+14 -240 replies
2/4wireguard: receive: reset last_under_load to zerodrivers/net/wireguard/receive.c+5 -20 replies
3/4wireguard: send: account for mtu=0 devicesdrivers/net/wireguard/device.c drivers/net/wireguard/send.c+15 -81 reply
4/4wireguard: socket: remove extra call to synchronize_netdrivers/net/wireguard/socket.c+0 -11 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/4
2/4
3/4R-b
4/4R-b

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

Read the v3 thread

Cover letter [PATCH v3 net 0/4] wireguard fixes for 5.6-rc2

Here are four fixes for wireguard collected since rc1:

1) Some small cleanups to the test suite to help massively parallel builds.

2) A change in how we reset our load calculation to avoid a more expensive comparison, suggested by Matt Dunwoodie.

3) I've been loading more and more of wireguard's surface into syzkaller, trying to get our coverage as complete as possible, leading in this case to a fix for mtu=0 devices.

4) A removal of superfluous code, pointed out by Eric Dumazet.

v2 fixes a logical problem in the patch for (3) pointed out by Eric Dumazet. v3 replaces some non-obvious bitmath in (3) with a more obvious expression, and adds patch (4).

Jason A. Donenfeld (4):
wireguard: selftests: reduce complexity and fix make races
wireguard: receive: reset last_under_load to zero
wireguard: send: account for mtu=0 devices
wireguard: socket: remove extra call to synchronize_net

 drivers/net/wireguard/device.c                |  7 ++--
 drivers/net/wireguard/receive.c               |  7 +++-
 drivers/net/wireguard/send.c                  | 16 +++++---
 drivers/net/wireguard/socket.c                |  1 -
 .../testing/selftests/wireguard/qemu/Makefile | 38 +++++++------------
 5 files changed, 34 insertions(+), 35 deletions(-)
Signature · 1 line
2.25.0