APPLIED [OEM-5.6] Re: [B][F][G][Unstable][OEM-5.6][OEM-B-OSP1][SRU][PATCH 0/1] Fix for kci_test_encap_fou() test in rtnetlink.sh from kselftests/net

Timo Aaltonen tjaalton at ubuntu.com
Wed Nov 11 06:01:16 UTC 2020


On 26.10.2020 7.46, Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/1891421
> 
> == SRU Justification ==
> The kci_test_encap_fou() from kci_test_encap() in rtnetlink.sh of
> kselftests/net will fail with non-zero return value, and print:
>    "FAIL: can't add fou port 7777, skipping test"
> 
> How to reproduce this:
>   devdummy="test-dummy0"
>   testns="testns"
>   ip netns add "$testns"
>   ip netns exec "$testns" ip link set lo up
>   ip netns exec "$testns" ip link add name "$devdummy" type dummy
>   ip netns exec "$testns" ip link set "$devdummy" up
>   ip netns exec "$testns" ip fou add port 7777 ipproto 47
> RTNETLINK answers: No such file or directory
> Error talking to the kernel
> 
> This test would require the fou module to be loaded before it gets
> started.
> 
> == Fix
> * 26ebd6fed9bb ("selftests: rtnetlink: load fou module for
> kci_test_encap_fou() test")
> 
> This patch needs to be backported for series after Xenial.
> 
> == Test ==
> Patch tested directly on the kernel tree, the test will now pass as
> expected.
> 
> == Regression Potential ==
> Low, change limited to the testing tool.
> 
> Po-Hsu Lin (1):
>    selftests: rtnetlink: load fou module for kci_test_encap_fou() test
> 
>   tools/testing/selftests/net/config       | 1 +
>   tools/testing/selftests/net/rtnetlink.sh | 5 +++++
>   2 files changed, 6 insertions(+)
> 

applied to oem-5.6, thanks

-- 
t



More information about the kernel-team mailing list