From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA3D7C433FE for ; Thu, 12 May 2022 23:40:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359556AbiELXkQ (ORCPT ); Thu, 12 May 2022 19:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359045AbiELXkP (ORCPT ); Thu, 12 May 2022 19:40:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69F02286FFC; Thu, 12 May 2022 16:40:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F29EE62059; Thu, 12 May 2022 23:40:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 5513FC34118; Thu, 12 May 2022 23:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652398813; bh=fxawoRZm7HHdnOAKqA+Ar1XQM5WiZ0dq7/qFO9WM5V4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=qbVVE7oQuyJjtfMWimCXYqsa3PPlu4nfaaW1dXJ9omOyVwUZmIUITAzOuX1xNMAoa UUG9809mxy7NhRCna4o92nD2FDe3JL0NrVHgro3JR7OAKROEJrcTvjU6p0kLvBDuoT JXg4sB4J1DS52SKw+rqR2cWEOKREvM1YLecoUezf+Zs8mCeIGjoJpTOB0/uHeBZH/W CE/WehS1G+wPHcaxaN1Xd71M9OTLgLhtXwRLKYgsFkSUBwgnJt90JxgeGby3a/a3qZ Tbx+7rJL46UEEL9HdQ3AYko7g0RDBW0KgtZwSOGhP+CfgaxLO+TuAIxaYiLes4ly2A plL9FFZYsjTVg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 2F482F03935; Thu, 12 May 2022 23:40:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net: lan966x: Fix use of pointer after being freed From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165239881318.13563.9379638810266990590.git-patchwork-notify@kernel.org> Date: Thu, 12 May 2022 23:40:13 +0000 References: <20220511204059.2689199-1-horatiu.vultur@microchip.com> In-Reply-To: <20220511204059.2689199-1-horatiu.vultur@microchip.com> To: Horatiu Vultur Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, dan.carpenter@oracle.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski : On Wed, 11 May 2022 22:40:59 +0200 you wrote: > The smatch found the following warning: > > drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c:736 lan966x_fdma_reload() > warn: 'rx_dcbs' was already freed. > > This issue can happen when changing the MTU on one of the ports and once > the RX buffers are allocated and then the TX buffer allocation fails. > In that case the RX buffers should not be restore. This fix this issue > such that the RX buffers will not be restored if the TX buffers failed > to be allocated. > > [...] Here is the summary with links: - [net-next] net: lan966x: Fix use of pointer after being freed https://git.kernel.org/netdev/net-next/c/f0a65f815f64 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html