Skip to content

wireguard updates for 6.16

Jason A. Donenfeld netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5wireguard: selftests: cleanup CONFIG_UBSAN_SANITIZE_ALLtools/testing/selftests/wireguard/qemu/debug.config+0 -10 repliesApplied
2/5wireguard: global: add __nonstring annotations for unterminated stringsdrivers/net/wireguard/cookie.c drivers/net/wireguard/noise.c+4 -40 repliesApplied
3/5wireguard: netlink: use NLA_POLICY_MASK where possibledrivers/net/wireguard/netlink.c+2 -80 repliesApplied
4/5wireguard: allowedips: add WGALLOWEDIP_F_REMOVE_ME flagdrivers/net/wireguard/allowedips.c drivers/net/wireguard/allowedips.h drivers/net/wireguard/netlink.c +4 more+187 -440 repliesApplied
5/5wireguard: selftests: specify -std=gnu17 for bashtools/testing/selftests/wireguard/qemu/Makefile+1 -00 repliesApplied

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchSimon Horman
1/5R-b
2/5
3/5
4/5
5/5

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/5] wireguard updates for 6.16

Hi Jakub,

This small series contains mostly cleanups and one new feature:

1) Kees' __nonstring annotation comes to wireguard.

2) Two selftest fixes, one to help with compilation on gcc 15, and one removing stale config options.

3) Adoption of NLA_POLICY_MASK.

4) Jordan has added the ability to run:

    # wg set ... peer ... allowed-ips -192.168.1.0/24

Which will remove the allowed IP for that peer. Previously you had to replace all the IPs non-atomically, or move it to a dummy peer atomically, which wasn't very clean.

Please pull!

Thanks,
Jason

Jason A. Donenfeld (2):
wireguard: netlink: use NLA_POLICY_MASK where possible
wireguard: selftests: specify -std=gnu17 for bash

Jordan Rife (1):
wireguard: allowedips: add WGALLOWEDIP_F_REMOVE_ME flag

Kees Cook (1):
wireguard: global: add __nonstring annotations for unterminated
strings

WangYuli (1):
wireguard: selftests: cleanup CONFIG_UBSAN_SANITIZE_ALL

 drivers/net/wireguard/allowedips.c            | 102 ++++++++++++------
 drivers/net/wireguard/allowedips.h            |   4 +
 drivers/net/wireguard/cookie.c                |   4 +-
 drivers/net/wireguard/netlink.c               |  47 ++++----
 drivers/net/wireguard/noise.c                 |   4 +-
 drivers/net/wireguard/selftest/allowedips.c   |  48 +++++++++
 include/uapi/linux/wireguard.h                |   9 ++
 tools/testing/selftests/wireguard/netns.sh    |  29 +++++
 .../testing/selftests/wireguard/qemu/Makefile |   3 +-
 .../selftests/wireguard/qemu/debug.config     |   1 -
 10 files changed, 194 insertions(+), 57 deletions(-)
Signature · 1 line
2.48.1