From: sashiko-bot@kernel.org
To: "Omokefe Emmanuel Onanaroghene" <emmaonana18@gmail.com>
Cc: bpf@vger.kernel.org
Subject: Re: [PATCH net-next v5 3/3] selftests: net: veth: propagate bad-settings check failures to exit status
Date: Sun, 22 Nov 2026 18:28:10 +0000 [thread overview]
Message-ID: <sashiko-outbox-228181@kernel.org> (raw)
In-Reply-To: <20261121182217.4609-4-emmaonana18@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] selftests: net: veth: missing Fixes: trailer for bad-settings
exit status fix
--
commit 8ddb499da6652b523173fb5185c64f0e2151d257
Author: Omokefe Emmanuel Onanaroghene <emmaonana18@gmail.com>
> selftests: net: veth: propagate bad-settings check failures to exit status
>
> Three more checks in veth.sh print "fail - set operation successful
> ?!?" without setting ret: "bad setting: XDP with RX nr less than TX",
> "bad setting: reducing RX nr below peer TX with XDP set", and "bad
> setting: increasing peer TX nr above RX with XDP set". A kernel that
> wrongly accepts any of these invalid operations would be reported yet
> the script would still exit 0. Wrap each fail branch so it sets ret=1.
>
> Reported-by: Tianyi Gao <tianyi@cloudflare.com>
> Link: https://lore.kernel.org/all/CAG4wq-cd01i7YrcFPmma=BXUcwn_PK=wneKW=vyEBYzQ3Bn7QA@mail.gmail.com/
> Signed-off-by: Omokefe Emmanuel Onanaroghene <emmaonana18@gmail.com>
[Severity: Low]
This fixes the three negative channel checks added in 1ec2230fc721
("selftests: net: veth: add tests for set_channel"). Should this include:
Fixes: 1ec2230fc721 ("selftests: net: veth: add tests for set_channel")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261121182217.4609-1-emmaonana18@gmail.com?part=3
next prev parent reply other threads:[~2026-11-22 18:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 18:22 [PATCH net-next v5 0/3] selftests: net: veth: propagate check failures to exit status Omokefe Emmanuel Onanaroghene
2026-11-21 18:22 ` [PATCH net-next v5 1/3] selftests: net: veth: derive invalid-tx test value from kernel max Omokefe Emmanuel Onanaroghene
2026-11-23 14:09 ` Tianyi Gao
2026-11-21 18:22 ` [PATCH net-next v5 2/3] selftests: net: veth: propagate channel-check failures to exit status Omokefe Emmanuel Onanaroghene
2026-11-22 18:28 ` sashiko-bot
2026-11-21 18:22 ` [PATCH net-next v5 3/3] selftests: net: veth: propagate bad-settings check " Omokefe Emmanuel Onanaroghene
2026-11-22 18:28 ` sashiko-bot [this message]
2026-11-23 5:22 ` Hangbin Liu
2026-11-24 21:44 ` Omokefe Emmanuel Onanaroghene
2026-11-23 14:09 ` Tianyi Gao
2026-11-24 21:42 ` Omokefe Emmanuel Onanaroghene
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-228181@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=emmaonana18@gmail.com \
--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.