]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
wireguard: selftests: make sure rp_filter is disabled on vethc
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 4 Jun 2021 15:17:31 +0000 (17:17 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 30 Jun 2021 06:27:53 +0000 (08:27 +0200)
commitf7136da0359fb7675f85267ff565c15879920315
tree9364c33c9ebe13c89c9dba8638b99e0c973ebd6d
parent2b6ff6a01af30ff9df10049084d95591f2efcc06
wireguard: selftests: make sure rp_filter is disabled on vethc

BugLink: https://bugs.launchpad.net/bugs/1933691
commit f8873d11d4121aad35024f9379e431e0c83abead upstream.

Some distros may enable strict rp_filter by default, which will prevent
vethc from receiving the packets with an unrouteable reverse path address.

Reported-by: Hangbin Liu <liuhangbin@gmail.com>
Fixes: e7096c131e51 ("net: WireGuard secure network tunnel")
Cc: stable@vger.kernel.org
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
tools/testing/selftests/wireguard/netns.sh