APPLIED: [K][L][SRU][PATCH 0/1] selftests: net: fix cmsg_so_mark.sh test hang
Stefan Bader
stefan.bader at canonical.com
Mon Jan 30 17:04:44 UTC 2023
On 17.01.23 11:58, Po-Hsu Lin wrote:
> [Impact]
> cmsg_* tests in net tests from ubuntu_kernel_selftests will hang on
> non-amd64 systems and eventually causing "Incomplete" test results on
> RISCV kernels due to the timeout setting.
>
> This is because of an infinity while loop caused by a char variable
> used here to take the getopt() return value in cmsg_sender.c, it should
> be an int instead.
>
> [Fix]
> * 1573c68820 ("selftests: net: fix cmsg_so_mark.sh test hang")
> This patch can be cherry-picked into both Kinetic and Lunar, these test
> cases are only available in these newer kernels.
>
> [Test]
> Compile the patched cmsg_sender.c on a non-amd64 system, and the cmsg_*
> tests will no longer hanging.
>
> [Where problems could occur ]
> Change limited to testing tools, no actual impact to real functions.
>
> Po-Hsu Lin (1):
> selftests: net: fix cmsg_so_mark.sh test hang
>
> tools/testing/selftests/net/cmsg_sender.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to kinetic:linux/master-next. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230130/c1555486/attachment.sig>
More information about the kernel-team
mailing list