Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1019278iob; Fri, 13 May 2022 19:52:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMNAIC+BaCZ8iRLM7PSB36NsnVjVr8FMB7UxuLkUVTB3xlF+mueHP8SpbdXva/wQxha97r X-Received: by 2002:a5d:5707:0:b0:20a:c768:bc8 with SMTP id a7-20020a5d5707000000b0020ac7680bc8mr6204210wrv.565.1652496728314; Fri, 13 May 2022 19:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652496728; cv=none; d=google.com; s=arc-20160816; b=HtP65oDi5rglf5IjUKe/CVe0hfuodOJDD6HmAjGeKONtI6RYJ0dfqncdnPQ4pENYJm 5w8Wrr/soKiJzgvNptSMlqiKyS34is7iAMHiTfDDXahLc325p87lFf8iLiWHvuKKy0s+ E4C/4pol+S2zykhFac9z6+0vfy1miLe7HPINgWtOnS6YXSjo8n3c+MpiBs5SVYZcqvHo xkPq90h6QtVpu/408OjYiise5uSH3meuxPlVRkCmEEv0UEzF16/zFnzIyHHnoHDSAE4B HSKcFKV8635pslesFrl7h9QWXAUn79lR3vObv1m648RrifpPb/hIBI2U2S8u5+vA6aDD blLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=TdTK7T8r1RwsfSIdG/QJmSjYL9EAA2AeDtLEsFYexQs=; b=F20aCFFb+lgbkvTF/fEbzxFjjoT6gkkZzPrgCXaznHNmnXofPq+Fhj81ERroKMQk87 kix9DUEpDej3mKCmgaWVqa6kUh6qbfGV+4wRf04p+ePOu1BC97cKCZLED9doW+h3mDLd nAPdbJyf5iH3Vv4K5vCwy53tTtn7VbtyGv3YTuJbLdgwORgjVEMB98mexx/V9XXGXPRl VKxhMt5OL22kPpEX7FrWYE6EPreq1YdKFKQCqyNIiNdFpXRE16BYd/Z7Fjis6ChS62+e RgqkFrEdj781NRz9AyZdsd7/MVO6WO525yyWmPrOkGB4l86I0oKPdmeM7K32w/Alr9YH evjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qbVVE7oQ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f22-20020a7bcd16000000b00395b5bfffdbsi3517822wmj.131.2022.05.13.19.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:52:08 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qbVVE7oQ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0C55137C7BE; Fri, 13 May 2022 16:38:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357968AbiELXkP (ORCPT + 99 others); Thu, 12 May 2022 19:40:15 -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 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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