summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-10-29 05:56:05 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2020-10-30 14:57:38 +0300
commitaf8afcf1fdd5f365f70e2386c2d8c7a1abd853d7 (patch)
treeb6b087a7f6e10292c2925314e14ecb3d1148a221 /net
parentdceababac29d1c53cbc1f7ddf6f688d2df01da87 (diff)
downloadlinux-af8afcf1fdd5f365f70e2386c2d8c7a1abd853d7.tar.xz
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions