ACK: [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

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Mon Oct 26 14:20:33 UTC 2020


Acked-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>

On Mon, Oct 26, 2020 at 01:46:09PM +0800, 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(+)
> 
> -- 
> 2.7.4
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

-- 
Regards,
Marcelo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20201026/65130368/attachment.sig>


More information about the kernel-team mailing list