]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: set conf.all.rp_filter=0 in bareudp.sh
authorGuillaume Nault <gnault@redhat.com>
Wed, 11 Nov 2020 15:05:35 +0000 (16:05 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Nov 2020 00:14:38 +0000 (16:14 -0800)
commit0e405b3af2ac8b8459bccb06d9fd3c92381deec5
treec160465420100181152b4f7d8ee32d535753a102
parent78b8aa8a8a578965046cb0ee44dd7ebb8b5553a5
selftests: set conf.all.rp_filter=0 in bareudp.sh

When working on the rp_filter problem, I didn't realise that disabling
it on the network devices didn't cover all cases: rp_filter could also
be enabled globally in the namespace, in which case it would drop
packets, even if the net device has rp_filter=0.

Fixes: 02848f04f613 ("selftests: disable rp_filter when testing bareudp")
Fixes: ca637058d6f1 ("selftests: add test script for bareudp tunnels")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Link: https://lore.kernel.org/r/f2d459346471f163b239aa9d63ce3e2ba9c62895.1605107012.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/bareudp.sh