APPLIED[L]: [K][L][SRU][PATCH 0/1] selftests: net: fix cmsg_so_mark.sh test hang

Andrea Righi andrea.righi at canonical.com
Fri Jan 20 06:35:52 UTC 2023


On Tue, Jan 17, 2023 at 06:58:31PM +0800, 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.

Applied to lunar/linux (already applied to lunar/linux-unstable via
periodic rebase to the latest -rc).

Thanks,
-Andrea



More information about the kernel-team mailing list