Revert "UBUNTU: SAUCE: selftests: net: fix "from" match test in fib_rule_tests.sh"
The commit in question dates back to 2019 and still persists in the Noble kernels. It has been unnecessary since the upstream kernel applied a similar fix,d1abf38860("selftests: fib_rule_tests: enable forwarding before ipv4 from/iif test"). Now, it is causing an issue with this kselftest: $ linux/tools/testing/selftests/net$ sudo ./fib_rule_tests.sh Cannot open network namespace "testns": No such file or directory The reason for the failure is obvious; there is no such a namespace since the upstream commit6c0ee7b4d6("selftests/net: convert fib_rule_tests.sh to run it in unique namespace"). In our SRU cycles, net:fib_rule_tests.sh in ubuntu_kselftests_net fails across all Noble kernels: 11238 20:50:51 DEBUG| [stdout] # Cannot open network namespace "testns": No such file or directory Reverting the outdated commit fixes this failure. BugLink: https://bugs.launchpad.net/bugs/2066332 Signed-off-by: Masahiro Yamada <masahiro.yamada@canonical.com> Acked-by: Paolo Pisati <paolo.pisati@canonical.com> Acked-by: Andrei Gherzan <andrei.gherzan@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
This commit is contained in:
committed by
Stefan Bader
parent
82ed9780a0
commit
0cb0dcfff5
@@ -87,8 +87,6 @@ setup()
|
||||
$IP address add $DEV_ADDR/24 dev dummy0
|
||||
$IP -6 address add $DEV_ADDR6/64 dev dummy0
|
||||
|
||||
ip netns exec testns sysctl -w net.ipv4.ip_forward=1
|
||||
|
||||
set +e
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user