From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB50F2DA75C; Fri, 19 Jun 2026 01:10:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781831423; cv=none; b=s7N14w8MWU/KpTZ27YO6TJ2h0Zemcx+Q/lKko0ahM1fFeRyzo3HAijQPZxOnyWDnnN+K00Drlf5CFa2Zmz8ik1pFi5GSE/Elx5Pv6OX4pJtx8d8S9+ijtqUzebV1+lk6g0yMkEm5T+z6vVd5MnwTNOBSvVEWnORDM9Qg077o18Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781831423; c=relaxed/simple; bh=Vf1NiBRDppA/fXo5Cy79yBJ0vmOuujHsaBkIIbOe6ZY=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=o27gRV1K+v3Saktu+60lNLeGuhhq2RZObn67XO6D15NmNSUvdUJZfLeSrtE4I6qfTh7do7lHsfPcygToNlD989l/9vqp4SxscPE8rDrSjsDC2cGVq1RBTys1hJSRq76qmTYWGrvyLmKBrq3nLI0PYikH2i8Y0q8Tox3sWeZjWa4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BLhe4oUw; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BLhe4oUw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CA1C1F000E9; Fri, 19 Jun 2026 01:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781831422; bh=cHNhTPpb2DnmLt3wBo29xmKCPVcx2ByRO36SGXERP00=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=BLhe4oUww6MhlcL+ZEJL9sWsmVrCiA8tRJPlr5PEaP5KxEQ1iC2+wP1kPnIFXWfrZ neCCqgvPD7FZ5rMepcwM8isW2oCCZdtaDCXk86Uz4ZElFyCo5e7cfRche1kIhTDs/9 +CTUMVHo7ooWwWlU5n9S3bpe7tq/1moMSOtTaYFqbeW9Vs1QdYdh/xXHBi55+URHdI RcxNnqQtpVZbjiQ/U2ai9x0XIETp4LDOMaeKTMQjhicAORTswRJIYwkp4KxQMwc6QX XuwrmQntuKWP3FOH4va1HOLPOdXCIW+0F38M7NFX/0KC6uRPuA8RkDhb4KFbUpd+6z 29XEysEqO0DvA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 29D473A78A7C; Fri, 19 Jun 2026 01:10:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v3] net: pch_gbe: handle TX skb allocation failure From: patchwork-bot+netdevbpf@kernel.org Message-Id: <178183141588.3148637.5386692499986905665.git-patchwork-notify@kernel.org> Date: Fri, 19 Jun 2026 01:10:15 +0000 References: <20260615125043.3537046-1-ruoyuw560@gmail.com> In-Reply-To: <20260615125043.3537046-1-ruoyuw560@gmail.com> To: Ruoyu Wang Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, masa-korg@dsn.okisemi.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Mon, 15 Jun 2026 20:50:42 +0800 you wrote: > pch_gbe_alloc_tx_buffers() allocates an skb for each TX descriptor and > then passes the returned pointer to skb_reserve(). If netdev_alloc_skb() > fails, skb_reserve() dereferences NULL. > > Make pch_gbe_alloc_tx_buffers() return an error when an skb allocation > fails. On failure, let pch_gbe_alloc_tx_buffers() clean the partially > allocated TX ring before returning the error. While bringing the device > up, release the RX buffer pool through a shared cleanup helper before > unwinding the IRQ setup. > > [...] Here is the summary with links: - [net,v3] net: pch_gbe: handle TX skb allocation failure https://git.kernel.org/netdev/net/c/a0aa6bf985aa You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html