Re: [PATCH mptcp-next] Squash to "selftests: mptcp: cover IP_RECVERR sockopt propagation"

Matthieu Baerts <[email protected]> Sun, 2 Aug 2026 19:51:21 +0200
Newsgroups dev.linux.lists.mptcp
Organization NGI0 Core
Message-ID <[email protected]>
Hello,

On 02/08/2026 19:46, Matthieu Baerts (NGI0) wrote:
> The CI validating the latest sefltests on stable kernels reported an
> issue with the MPTCP Sockopt selftest:
> 
>   04 Mark v6                                           [ OK ]
>   setsockopt recverr on: Operation not supported
>   client exited, status=1
>   05 SOL_MPTCP sockopt v4                              [FAIL]
> 
> That's normal, because this feature is not supported by these kernels.
> 
> Skip the new test when the feature is not supported by a kernel, but
> keep failing if SELFTESTS_MPTCP_LIB_EXPECT_ALL_FEATURES env var is set
> to 1.
> 
> While at it, also set the socket option name in the error message, to
> quicker understand it is linked to the IP(V6)_RECVERR option, and not
> a "receive error" type.
If there is no objection, I suggest applying the patch in our tree, to
stop the CI to complain. Extra fixes can be added later.

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.