]> git.baikalelectronics.ru Git - kernel.git/commit
wireguard: selftests: remove ancient kernel compatibility code
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 2 Jan 2020 16:47:49 +0000 (17:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jan 2020 22:08:32 +0000 (14:08 -0800)
commit6bb4bff2066f91300529df35adfc9dd23d1938de
tree12ee549da4e67ce7aba64d73715b652a6dd37788
parent0304c0a68798ec184092cd95a10a79faedd953b0
wireguard: selftests: remove ancient kernel compatibility code

Quite a bit of the test suite was designed to work with ancient kernels.
Thankfully we no longer have to deal with this. This commit updates
things that we can finally update and removes things that we can finally
remove, to avoid the build-up of the last several years as a result of
having to support ancient kernels. We can finally rely on suppress_
prefixlength being available. On the build side of things, the no-PIE
hack is no longer required, and we can bump some of the tools, repair
our m68k and i686-kvm support, and get better coverage of the static
branches used in the crypto lib and in udp_tunnel.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/wireguard/netns.sh
tools/testing/selftests/wireguard/qemu/Makefile
tools/testing/selftests/wireguard/qemu/arch/m68k.config
tools/testing/selftests/wireguard/qemu/init.c
tools/testing/selftests/wireguard/qemu/kernel.config