[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260129184318.53b1dabf@kernel.org>
Date: Thu, 29 Jan 2026 18:43:18 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Antony Antony <antony.antony@...unet.com>
Cc: Steffen Klassert <steffen.klassert@...unet.com>,
<netdev@...r.kernel.org>, "David S . Miller" <davem@...emloft.net>, David
Ahern <dsahern@...nel.org>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, Herbert Xu <herbert@...dor.apana.org.au>, Shuah Khan
<shuah@...nel.org>, <devel@...ux-ipsec.org>,
<linux-kselftest@...r.kernel.org>, Tobias Brunner <tobias@...ongswan.org>,
Simon Horman <horms@...nel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next v4 2/2] selftests: net: add ICMP error source
address test over xfrm tunnel
On Wed, 28 Jan 2026 11:20:45 +0100 Antony Antony wrote:
> Test that ICMP error messages generated by an IPsec gateway use
> the correct source address (the gateway's address, not the
> unreachable destination).
could you check / fix shellcheck warnings?
+In xfrm_state.sh line 115:
+ $ksft_skip)
+ ^--------^ SC2254 (warning): Quote expansions in case patterns to match literally rather than as a glob.
+In xfrm_state.sh line 157:
+ [ -n "${NS_R1}" ] && ns_r1="ip netns exec ${NS_R1}" && ns_active="${ns_active} $NS_R1"
+ ^---^ SC2034 (warning): ns_r1 appears unused. Verify use (or export if used externally).
+
+
+In xfrm_state.sh line 162:
+ [ -n "${NS_B}" ] && ns_b="ip netns exec ${NS_B}" && ns_active="${ns_active} $NS_B"
+ ^--^ SC2034 (warning): ns_b appears unused. Verify use (or export if used externally).
+In xfrm_state.sh line 166:
+ local ns_cmd=$(nscmd $1)
+ ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values.
--
pw-bot: cr
Powered by blists - more mailing lists