From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796428143; b=LjWeYraoKKX0HgV5D8ev1acVV6HcSdbWImuPXxhLa9jXjql1QqrW+PrtdR40cdHyCTTN Ysa1uzEOgy9+Yv7GpPIOzDB59jqP/Njc66zziy1RUnUbE/fRjVF1oiEBkmMsv0y/QST+o Rk8PFPW5uRfy+6Nj6iNffMUEZ/xbpYcQyeKggE4i0DU3aKZ/LXIc9DQt1ujFw4y3w/hCj O+IAj8OePF5B05KyBdg0NQDjRwOdVJJXafwsDBuf24ukOi9DpVEmuI7DJwwNS7vaUY7oN nEYgWkC2E6EfcnAroYkiGk8GUmI/vA2pBSehmwAhspvab8/2i+gDBwsR3dTiRNsE7mA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796428143; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=1fqDnQNmWr+BayinJU6AtOSYFKzFYniMX9J0tDI42LQ=; b=izKmhIvqemLFxfvLToo6dP4nsZeQ35FXK4BIIlLVaoejqJ954ge/06XTU6b1NXGpGyeI Ja+6kYGZnKj5FYeNpXBaptcO9ROb2tMvZ6rGUbYM/VpEMeyapvGYlLAn+LI35fwigh8o1 n2roqz4ddG47enqHrnXC72Sr9H8l4/ODNvelM5kUbXxl1r/5dzmIg3Tle+15rRhUu2SWM yeAY5Atnff7ryjyHdTvRLGdIjiL1yQi27/nBqVugRL9f0NsNXIEXBaXsdOS128Iqi72YH qSz6KPJUoFkyJ5TrisA83uNccAKSe+++XupSZ8XkqmLCui/p9bL/mph3AAacRb6N1Yw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QIeHId8P; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA688606A32D for ; Fri, 4 Dec 2026 23:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QIeHId8P Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7B8E1F00A06; Fri, 4 Dec 2026 23:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796428142; bh=1fqDnQNmWr+BayinJU6AtOSYFKzFYniMX9J0tDI42LQ=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=QIeHId8PG6tQCFr/ezFgls6UGilM+VMllOP+0TGrRLpBIHYl4XnHufrQ7hnQJLSb2 HReepUTHYX56prbwCBHJIB8p3Lwbxn/mJMsynCZ89anDCHvPq1VKVyMZHeiFETohRK TvLkdOau81NSYkaqYSCQHkjHL+DQnV8nde6lZ38xlnKJbmCEh8Wlgadec8Nib0kStb rh9bdsX4TNXKWX+V36ejqLfH/SPh9/WZ1JNe+ntbYIqgUotnSCpim4dGX0zk/1+xG6 JGj9anxCVa6P9Oxi4DyqSb9H0kagDyHlPeUWD6Nr29luPThGxpZPiMBET/DeYCxgp7 xkqA6E0wrtURg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 2/3] selftests: fib_nexthops: Check the IPv6 multipath source address Reply-To: sashiko-reviews@lists.linux.dev To: "Tim Menninger" Cc: linux-rdma@vger.kernel.org In-Reply-To: <20261203234720.2428689-3-tmenninger@everpuredata.com> References: <20261203234720.2428689-1-tmenninger@everpuredata.com> <20261203234720.2428689-3-tmenninger@everpuredata.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 23:49:02 +0000 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] selftests/net: return ksft_skip drops skip status in ipv6_mpath_select() -- commit ffd84aacf0d609683c23be32a4ba6c1ef88a668e Author: Tim Menninger selftests: fib_nexthops: Check the IPv6 multipath source address This commit extends ipv6_mpath_select() to verify that the preferred source address reported for a destination hashed to each multipath nexthop belongs to that nexthop's device. > diff --git a/tools/testing/selftests/net/fib_nexthops.sh b/tools/testing/= selftests/net/fib_nexthops.sh > index adbec51917eb8..cdc8d53d87acf 100755 > --- a/tools/testing/selftests/net/fib_nexthops.sh > +++ b/tools/testing/selftests/net/fib_nexthops.sh [ ... ] > @@ -867,6 +877,31 @@ ipv6_mpath_select() > done > log_test $rc 0 "Use valid neighbor during multipath selection" > =20 > + # The source address must belong to the selected nexthop's device, > + # not the device of the group's first nexthop. > + local -A srcs > + srcs=3D([veth1]=3D2001:db8:91::1 [veth3]=3D2001:db8:92::1) > + rc=3D0 > + for dev in veth1 veth3; do > + match=3D0 > + for h in {1..65535}; do > + addr=3D$(printf "2001:db8:101::%x" $h) > + if [ "$(get_route_dev "$addr")" =3D "$dev" ]; then > + match=3D1 > + break > + fi > + done > + if (( match =3D=3D 0 )); then > + echo "SKIP: Did not find a route using device $dev" > + return $ksft_skip > + fi [Severity: Low] Does returning $ksft_skip directly here drop the skip status? The main loop runs each test function with "setup; $t; cleanup" and discards its return value; only log_test() increments nskip and updates ret. Returning early leaves the skip uncounted and aborts ipv6_mpath_select() before the final subtest runs. Setting rc=3D$ksft_skip and breaking out of the loop so execution reaches log_test() would record the skip and still run the remaining subtest. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203234720.2428= 689-1-tmenninger@everpuredata.com?part=3D2