🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #11745

Re: [PATCH net] dpaa2-switch: fix port cleanup on probe errors

#11745
From: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 14:10
27 lines
8807 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 02 Nov 2026 07:13:18 +0000 you wrote:
> dpaa2_switch_probe() reuses i while probing ports, adding NAPI
> instances, registering netdevs, and unwinding failures. Consequently,
> the value reaching the port removal loop does not always represent the
> number of successfully probed ports.
> 
> If IRQ setup fails, i is left equal to DPAA2_SWITCH_RX_NUM_FQS. A
> switch with one interface then causes the unwind path to access
> ports[1] out of bounds, while a switch with more than two interfaces
> leaks all ports after ports[1].
> 
> [...]

Here is the summary with links:
  - [net] dpaa2-switch: fix port cleanup on probe errors
    https://git.kernel.org/netdev/net-next/c/0822d2fe3826

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179388781230.3729553.1879674785281037488.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357418-linux-kernel-netdev=dewy.ru
References: <20261102071310.3004332-1-lee@jaeyeong.cc>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357418-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] dpaa2-switch: fix port cleanup on probe errors
Date: Thu, 05 Nov 2026 14:10:12 +0000
Organization: Usenet Network
Message-ID: <179388781230.3729553.1879674785281037488.git-patchwork-notify@kernel.org>
References: <20261102071310.3004332-1-lee@jaeyeong.cc>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3652331"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:8f7x6uI58d9HWCRxfT91MhUgC7I= sha256:DNjOCtZ+DcXSKRCUL0hrN3NGNJbs/uD7eIAY+5E8zeE=
	sha1:lBZOhLw1yncuuiNE7Bj5sjSvCyQ= sha256:COsYN1eYGaZIlt0KHQKtPOHXKN2xNX3IKt1lN+M2QzQ=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 11736112FA8; Thu,  5 Nov 2026 17:16:54 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id FBKn-ENGoLmp;
	Thu,  5 Nov 2026 17:16:50 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-357418-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 887DB112FC6; Thu,  5 Nov 2026 17:16:42 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 6071F2F9A1; Thu,  5 Nov 2026 14:10:43 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793887820;
	b=iXg8KbOJy3/M1HKqkiReQPugwBv6aFTqOmCt5ZyUMV1zpU6aMql/yrXShWbj4RNozLd6
	 xkh1d/JMxrDvXNfb0zY7Io4e0/udkuRDtAhtViaMDtvdAdCCyuhdZKbkXnyKkrpzVDW+H
	 uzqTQ4Nnq1bQxjNecPT+p/rhm/fkTEv4o8S+KCi9WaEr9GURYtZM0C4HJZrvITBvjW/GT
	 E5dwj5D6ahp8fFcjT485tp2XfWOl7IdeIG4FN4jhWFoq7o/njoGPudyPXfP02dRbqgE88
	 /cC2lDmLlSdsOvLNHFl54TDKKFVC/FUq+pU4ku00gVibNd+hvb3tGuQlVLQyyJqaa/w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793887820;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=QimVwv0cZRzNP0rWP38GJwNq4IJRHfDBqqjVo+ay0uI=;
	b=o3YMv+7iPccwzEHqatrTcyR+bwYI2hbCqEWnG8PZV8qZaj/H3iPmd8p275uHI41wvYtu
	 bdJfJq8SBrLpi9LjmLyynbffNJ1F8Qx0y4BFmWi3UdaksZY4YA7GzHnqSEa8UD60LBC5o
	 SEdORezMoNe+mz9r7ftiQTsB8kLrJ7HR3ym2zOXNxLDvO9cOlFRjmeP4kp4ut81NEmrOi
	 NQ6bTmc2Co3BA2uK6uvdPHSgvUXxXuUZ5tpbyM9U1goaALeHf/vPhoT933fmEU0d4YlQK
	 kq0DenndQZTcfhLQWVK0iGeyXtxMEzxYMbbfQ8atiGTn7l3dIWSfpfDNvQPKyTEOvdQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T09ksnn0;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F45E606D837;
	Thu,  5 Nov 2026 14:10:20 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T09ksnn0
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793887814;
	b=mW7Yg0DveTCNzdt+hlfyjK8xrSEuS1bJy0YsDuXSa1HyuoFf6LYXYx4tY3k/RffFYvbJ
	 h5BzR0KNyQam7bvUd1aBvu0Cta/J4EvpgZGVN5cNL8Z/Zf2r61uFR5Jhw4VnLuWtudhxi
	 JDzvLd9hzsaP3wFgHLSknIqj8MJsmCkqDkYhv45aK4KDDloRYeWMfP4fbbXX5u97stpF3
	 +WL8zcZ/eURXYQNoyzJc0pFF8SF1ZGSgw/uqe03IDuQ4US4uSSOz6UUJsfvYyHLLHFM5w
	 NJBZ6VJGZMYDfkajHfvGrsSJCEgz8QyiTCtfuZwjp3AyaaJs2AVh41sI0z/fUMSSl5w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793887814;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=QimVwv0cZRzNP0rWP38GJwNq4IJRHfDBqqjVo+ay0uI=;
	b=ZPyFJ413QvtnD75FMUXQx9K+jeQh0TMdKtL8TxAr0w8LiV483aTErwPN1mLYlKSwOHUJ
	 Hb8bb+zfehcoPuSztwvCA7siUU1VpCzV/ZDwRkZhQiWTIwNFrTCYxT0dEGwq6gUjnbAML
	 PsERbDlZgWSUJbPur4laDpzz0OE7l7jTAvjdYDIdqJhOBJ6PKR9ZMni6nYa0EUZxXSA7f
	 CVj21vNw3MbtNyOjz69RyvT6rNLpAJrJv0owvYYyPQMoy0dH/l7cTcIzk2OMPaW8oA95y
	 UMSob6MvSivDawC6K3dwlegUw240JuFAl08E00WJDmkPltifPRB/fXsOSY15OE5oOPQ==
X-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=T09ksnn0;
	arc=none smtp.remote-ip=100.103.45.18
X-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 37CA2606A335;
	Thu,  5 Nov 2026 14:10:13 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C53B81F000C1;
	Thu,  5 Nov 2026 14:10:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793887813;
	bh=QimVwv0cZRzNP0rWP38GJwNq4IJRHfDBqqjVo+ay0uI=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=T09ksnn0eTMR47JKPUMxF7caYMwBTlbHrza/PmxlFtHvSssRlUJHQkwdpbU2Hgrs5
	 qMRsdIjBmTGmpLILPDP4PAQsQju/317vpLB+UMlSUb/a/03VOuMVwS6+2d7o4Gr0h3
	 4gESMjUuVwP5ruaU4eSHVk7Yxk9HyJe9sH5Cv7VXJJK4dQ9OiOOp6IRZenAfWHfMZH
	 mPkKUZsDkQQgBky9dAUZh4dxjeLKOHYHrBLVBvFIenag/SBXTmcTJCNcQLlgB1MDF8
	 4RoLLT1ayKC9/CS7+aSlUbxj3RW0Toj2ltva6enbYe2gkThUzagnDovNEBRTnjST4r
	 rrtb2ZWCPTRtQ==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id BA2CF391AF93;
	Thu,  5 Nov 2026 14:10:13 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261102071310.3004332-1-lee@jaeyeong.cc>
X-Cc: netdev@vger.kernel.org, ioana.ciornei@nxp.com, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 vladimir.oltean@nxp.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org