Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6587801rdb; Fri, 15 Dec 2023 03:00:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzLGIsDjw8sX5nZxJ74K1eJvpWabLIuRPumvx5X/+wM0AxDh7MsAbFybYoFbLo+qZ0nrCg X-Received: by 2002:a17:902:ea0b:b0:1d0:8e08:35be with SMTP id s11-20020a170902ea0b00b001d08e0835bemr10717585plg.7.1702638050439; Fri, 15 Dec 2023 03:00:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702638050; cv=none; d=google.com; s=arc-20160816; b=baJQfYg7AYc9dgZeK16p7/cWL7sKbadDeFbV9p/AYRZnj4kFhYolwuKYt6cMNoHYS0 3FuEtEDSdrEHw530Ge9AatuHHkjTXCK59tSy6T4ERdoRVDG4DJjJKX9TjDfzUkT7lvP8 Ly/cno2LeGGZC75ZD005UbpomZ3WQJmrOwYtu42n4y4eVJuJ6Men0FcH73d2N3Kcu5gC E0LBD+tJ4CmB7UFGNsbU0KMnWPwkVwDx0ngRQtcJv8fgqf3Fu0PYAgLicjOxPIyUKB70 KpYy5+Sx0ms+ZdZBI7dE3z3agiP8JRb71YlNkfPUjSbuWvVRzXSdnZgQA7PAVn1bGzyU loTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=xX1noAG2Wuj2N6a/r9xSzXdkLugjGhkHq84hG0UaC3g=; fh=BYneksaUROja8sRmCU4kjfUThl2ycdisNqcc1K/cxD0=; b=TJuCn1mZ0TMQ6Uk+4O0Zp9YBweeCNSADtHh8a86kEc/xIB9RrgD41UWTEBWOdBlRW+ 1Zf0kfpnmMrV+/oeYO6jcER6Hhl//YYh5O0hxL049euLgYbdZ9euK4qbt4DB7Mx55NDf IBS9bM0tq57UXAPSUN5vMQgO4xUe9joNsP10okqIj869GV8gVh9dHjYXoC2SiyZc2Ezr lJcfMazaBDUfWBhXatxbLiROPATXEUG5fECT6zGCNmojlEWhJPMtGDacnSrcyi2AUqnF IaiJHeYXfDMDsLFmtejhPaNznbz4Vkt+uNgDq/AhoWQ+j83JnZuMvxU6g1/+MVCqzuN5 0QJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BimTdDC/"; spf=pass (google.com: domain of linux-kernel+bounces-793-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b6-20020a170902bd4600b001d080c0e21fsi12529048plx.632.2023.12.15.03.00.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 03:00:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-793-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BimTdDC/"; spf=pass (google.com: domain of linux-kernel+bounces-793-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 22AE228597B for ; Fri, 15 Dec 2023 11:00:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5086250E2; Fri, 15 Dec 2023 11:00:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BimTdDC/" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D795724A0F; Fri, 15 Dec 2023 11:00:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6D2D0C433CD; Fri, 15 Dec 2023 11:00:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702638023; bh=OlSfeJcVeNSMeoBz+YhS9wkUlwyc3tmGntZF180CBoo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=BimTdDC/0cLHwgK+lxsDs6A4xzSfWs8RKlJWcARb2dC1TyPqvFdaAESqYMWsD97Dx 5xNlOKeYag2Y2c/XCn4vT52wJ3XAylpobvT2ErXQGYpXLE2m89M772b828e0Ugn/0m i/IcfBT9UICUACDOLP95+rsecCfGiXFJ7p7YSHzwkBrIwvA/KohO1hX1Kt/e+j09aq s7ezXsPH3fHmReLqpZskj9ZUz9tQjfwZBUf8LPZoR7kkRIBQrjfP3CVLTmCZsk6hNL hsMLfviBaJcidGHqXJlxManJrGmVo+QHezm3va835671hOunMHoP8/6h3POGcxGYCT kMrJ8G3aEKO4Q== 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 51BEEDD4EF5; Fri, 15 Dec 2023 11:00:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] [v3] ethernet: atheros: fix a memleak in atl1e_setup_ring_resources From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170263802333.14267.5281972789359567842.git-patchwork-notify@kernel.org> Date: Fri, 15 Dec 2023 11:00:23 +0000 References: <20231214130407.3481513-1-alexious@zju.edu.cn> In-Reply-To: <20231214130407.3481513-1-alexious@zju.edu.cn> To: Zhipeng Lu Cc: sumang@marvell.com, chris.snook@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, ruc_gongyuanjun@163.com, jgarzik@redhat.com, jie.yang@atheros.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Thu, 14 Dec 2023 21:04:04 +0800 you wrote: > In the error handling of 'offset > adapter->ring_size', the > tx_ring->tx_buffer allocated by kzalloc should be freed, > instead of 'goto failed' instantly. > > Fixes: a6a5325239c2 ("atl1e: Atheros L1E Gigabit Ethernet driver") > Signed-off-by: Zhipeng Lu > Reviewed-by: Suman Ghosh > > [...] Here is the summary with links: - [v3] ethernet: atheros: fix a memleak in atl1e_setup_ring_resources https://git.kernel.org/netdev/net/c/309fdb1c33fe You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html