From: sashiko-bot@kernel.org
To: "Geliang Tang" <geliang@kernel.org>, mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-next v11 6/7] selftests: net: msg_zerocopy: add MPTCP support
Date: Fri, 27 Nov 2026 13:00:51 +0000 [thread overview]
Message-ID: <sashiko-outbox-237455@kernel.org> (raw)
In-Reply-To: <3c4914ba16cf7712f0cda60f9d8ca1bc7d8e49ca.1795783388.git.tanggeliang@kylinos.cn>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] selftests: net: missing IPv6 MPTCP support check in
msg_zerocopy.sh
--
commit 9cc486d6ab2a729fb7c0e3662152245a03185926
Author: Geliang Tang <geliang@kernel.org>
selftests: net: msg_zerocopy: add MPTCP support
This commit adds "mptcp" and "check" test modes to msg_zerocopy.c and
updates msg_zerocopy.sh to run IPv4 and IPv6 MPTCP zerocopy tests.
> diff --git a/tools/testing/selftests/net/msg_zerocopy.sh b/tools/testing/selftests/net/msg_zerocopy.sh
> index 28178a38a4e7b..a9cb6b449f342 100755
> --- a/tools/testing/selftests/net/msg_zerocopy.sh
> +++ b/tools/testing/selftests/net/msg_zerocopy.sh
> @@ -32,13 +32,20 @@ if [[ "$#" -eq "0" ]]; then
> $0 4 udp -t 1 || ret=1
> $0 6 udp -t 1 || ret=1
>
> + if ${BIN} -4 -t 1 check && ${BIN} -4 -t 1 check -z; then
> + $0 4 mptcp -t 1 || ret=1
> + $0 6 mptcp -t 1 || ret=1
> + else
> + echo "SKIP: MPTCP tests (not supported)"
> + fi
[Severity: Low]
Should this check IPv6 MPTCP support with -6 before running the IPv6
subtest?
Both check invocations pass -4 (and the second check with -z already
tests socket creation), so IPv6 MPTCP support is never probed. Because
CONFIG_MPTCP_IPV6 depends on CONFIG_IPV6=y, a kernel built with
CONFIG_MPTCP=y and CONFIG_MPTCP_IPV6=n (for example when CONFIG_IPV6=m)
passes the -4 checks and then fails "$0 6 mptcp -t 1" with
EPROTONOSUPPORT instead of skipping it.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1795783388.git.tanggeliang@kylinos.cn?part=6
next prev parent reply other threads:[~2026-11-27 13:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 12:45 [PATCH mptcp-next v11 0/7] mptcp: add MSG_ZEROCOPY support Geliang Tang
2026-11-27 12:45 ` [PATCH mptcp-next v11 1/7] mptcp: use local variable tp in sendmsg_frag Geliang Tang
2026-11-27 12:45 ` [PATCH mptcp-next v11 2/7] mptcp: remove redundant orig_offset in carve_data_frag Geliang Tang
2026-11-27 12:45 ` [PATCH mptcp-next v11 3/7] mptcp: add MSG_ZEROCOPY support Geliang Tang
2026-11-27 13:13 ` sashiko-bot
2026-11-27 12:45 ` [PATCH mptcp-next v11 4/7] mptcp: handle SO_ZEROCOPY in setsockopt Geliang Tang
2026-11-27 12:45 ` [PATCH mptcp-next v11 5/7] Documentation: msg_zerocopy: add MPTCP support Geliang Tang
2026-11-27 12:45 ` [PATCH mptcp-next v11 6/7] selftests: net: " Geliang Tang
2026-11-27 13:00 ` sashiko-bot [this message]
2026-11-27 12:45 ` [PATCH mptcp-next v11 7/7] selftests: mptcp: cover msg_zerocopy test Geliang Tang
2026-11-27 13:06 ` sashiko-bot
2026-11-27 14:57 ` [PATCH mptcp-next v11 0/7] mptcp: add MSG_ZEROCOPY support MPTCP CI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-237455@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=geliang@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.