mbox series

[PATCHv6,net-next,0/2] wireguard: selftests: use nftables for testing

Message ID 20250408081652.1330-1-liuhangbin@gmail.com
Headers show
Series wireguard: selftests: use nftables for testing | expand

Message

Hangbin Liu April 8, 2025, 8:16 a.m. UTC
This patch set convert the wireguard selftest to nftables, as iptables is
deparated and nftables is the default framework of most releases.

v6: fix typo in patch 1/2. Update the description (Phil Sutter)
v5: remove the counter in nft rules and link nft statically (Jason A. Donenfeld)
v4: no update, just re-send
v3: drop iptables directly (Jason A. Donenfeld)
    Also convert to using nft for qemu testing (Jason A. Donenfeld)
v2: use one nft table for testing (Phil Sutter)

Hangbin Liu (2):
  wireguard: selftests: convert iptables to nft
  wireguard: selftests: update to using nft for qemu test

 tools/testing/selftests/wireguard/netns.sh    | 29 +++++++++------
 .../testing/selftests/wireguard/qemu/Makefile | 36 ++++++++++++++-----
 .../selftests/wireguard/qemu/kernel.config    |  7 ++--
 3 files changed, 49 insertions(+), 23 deletions(-)