Re: [PATCH net-next v5 3/3] selftests: net: veth: propagate bad-settings check failures to exit status
From: Tianyi Gao
Date: Mon Nov 23 2026 - 09:10:05 EST
Hi Omokefe,
On Sat, 21 Nov 2026 19:22:17 +0100 Omokefe Emmanuel Onanaroghene wrote:
> 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.
If you squash this patch with patch 2, feel free to keep my tag on
the result.
Reviewed-by: Tianyi Gao <tianyi@xxxxxxxxxxxxxx>
Cheers,
Tianyi