1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/wireguard/qemu
Jason A. Donenfeld af8afcf1fd wireguard: selftests: check that route_me_harder packets use the right sk
If netfilter changes the packet mark, the packet is rerouted. The
ip_route_me_harder family of functions fails to use the right sk, opting
to instead use skb->sk, resulting in a routing loop when used with
tunnels. With the next change fixing this issue in netfilter, test for
the relevant condition inside our test suite, since wireguard was where
the bug was discovered.

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2020-10-30 12:57:38 +01:00
..
arch wireguard: selftests: use normal kernel stack size on ppc64 2020-05-06 20:03:47 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
debug.config arm64 updates for 5.8 2020-06-01 15:18:27 -07:00
init.c wireguard: selftests: remove duplicated include <sys/types.h> 2020-03-18 18:51:43 -07:00
kernel.config wireguard: selftests: check that route_me_harder packets use the right sk 2020-10-30 12:57:38 +01:00
Makefile wireguard: selftests: use newer iproute2 for gcc-10 2020-05-20 20:55:09 -07:00