Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1497450lqp; Fri, 22 Mar 2024 18:10:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUWreXw6IPo/aHDBju9ERo7ObrbBcxhLeQbcw7cPqGfWow4utNBIceeF/owOxSuKu7DpOYG5UWDbmYp2UghLEveHL66LDozK4Q+OY9CUA== X-Google-Smtp-Source: AGHT+IHCkMTcUjejDM6elWOaaKgVFz2o8v0Mu/x14dAKrOtoengjVwZtbxDon+xU4SXn66l4ZwIY X-Received: by 2002:a17:90a:d793:b0:2a0:4495:1f66 with SMTP id z19-20020a17090ad79300b002a044951f66mr793251pju.4.1711156244937; Fri, 22 Mar 2024 18:10:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711156244; cv=pass; d=google.com; s=arc-20160816; b=sG9xEb/KkLpfdgktTxuQCaBbJoa0yjI1P+MOA/7utor9ogwEzTFMXcI57A8eg1n104 xqYAk8hRhOUKtUaqDsLMnhgZOn37nWkRQYiyujWWsARfGCqxUM7Ktvs3n4r//1RYKiRe ovW846UDCBkOAs8tn1oJLJvlsTgCACinc1VlVn9iG4l8zCVkjENrczFb5fULPSdv9knl q6exsYFEKhxB+pPmbXd1Z0LClvZl0Lc7WC25VSEz6yxrivC9gRJL8fHwMUubrJFDWVVG dRWU0Vfrb0Ete+rftvgw6XpoElcBqk5MQegvd/Y8M1YlpX4A18Vh4XKtG8eIwDRAqSif lcdA== ARC-Message-Signature: i=2; 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=MBgJ+Objmk8VmHzLoAXfnM21TWOIkpAfopV25a6Jug0=; fh=Dk0AELlZDaQEZkUPTAnpbZZ04q/zNNKIf3DvrjrN7uA=; b=Xp62RH5cRDiOqjAa9Gat3zO/3DawlbeBwmdQ7uX75Hv8wMIMzxEQFdbQEnJYw2siwf KfSxxHTSe2WoswDiyeRzfWP2y3LCT5sHrFj/mETDiLGRGr25wn8J0QjOo2ihgIdDWMRd 0wqTKPgZYWvD0xzAzsaxXz1p1oxj/CC+nGGCAK2a33OAhlx9Cxp6970ufc9lMbpk9fM2 apFqoSArBzK8Ym6bxo6OtbDquU5zERd/CFxHjys7G4E1gIYVjBNqurTO305uAR47bcIt 6EMrVSL1pFO4FL4jpDKjtbn0tWtkLi7M4HqPAGkqyqrxzme65+JTUdMdjsGEHeEaC/9o b9+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LaGo48FI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-112154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112154-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. [139.178.88.99]) by mx.google.com with ESMTPS id q91-20020a17090a756400b0029dddd0779fsi6662180pjk.153.2024.03.22.18.10.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 18:10:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LaGo48FI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-112154-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112154-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 974B3283A85 for ; Sat, 23 Mar 2024 01:10:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CDFE46A2; Sat, 23 Mar 2024 01:10:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LaGo48FI" 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 3A8DAA41; Sat, 23 Mar 2024 01:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711156229; cv=none; b=Z3CeGJ53pTVVXx4GkZ6pIJuu7TeTTSS6bYeJGvOtf+Z/ucJBdGShB9ZkuFuwaQttQL0HmbQHoozibIiPfjDROIjCudxkpjY7FTew18OA8wTLBTk5mBTIZLGZqMDZ6NEKthRrJVs9jNnl0yNmDx8Cv13SOyTY0L4OOLIYoaOOvDw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711156229; c=relaxed/simple; bh=50PefJZSTcgeBQSLtNejEsHNZTUKJEsfoi+Slynip1s=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=dcuVsenUffllVozlgvuDrOMqfM33RNp9zrDQQ/6zQWjeXmd6vaUrXcJk+LcHQmXdxpojHClAoccR3EB9JqRrTrVBV1/eIwbyrg5fY/BFKmcqE8vj3sGWvl+VLXHHkYejRHFz6DzOvxOZTyfdNMm2Ey7VHmPoEuqmrfVLj/0qc+8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LaGo48FI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id F25E9C433A6; Sat, 23 Mar 2024 01:10:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711156229; bh=50PefJZSTcgeBQSLtNejEsHNZTUKJEsfoi+Slynip1s=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=LaGo48FI+kZrqJRK7zdXjDZ4odEa8O8XbG+uVJh9a0nAx3UHYwMEWPMNCtm3DjQFW rUiP2yCJGglLP7ytKBsLkXgq0G88FX11c/TAr3js79RQ+bEliDawl0SA4Md3cwFZH8 u+5Yb0opuoDFYPZNajR26Pck7kw9HIqoIELO/6pZ7TwdOrnlwuzobOkDe6QLAsMcPs WpvHMNtvWBUUQHjqThzBbOXGze+di5AJ1Yn0uMf0QgrgugKEXD//5ho0QW1P72QNUx +YwsafULuNo9voeWMupcBI4Xj0Nm7PN1GsqCItUrcWoqWOpVrZ0/X8DWEDvjsUp48L mQehKflQdv6uQ== 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 E128AD8BCE4; Sat, 23 Mar 2024 01:10:28 +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 v2 net] nexthop: fix uninitialized variable in nla_put_nh_group_stats() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171115622891.16003.9139794414566350599.git-patchwork-notify@kernel.org> Date: Sat, 23 Mar 2024 01:10:28 +0000 References: In-Reply-To: To: Dan Carpenter Cc: idosch@nvidia.com, dsahern@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, petrm@nvidia.com, keescook@chromium.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Thu, 21 Mar 2024 17:42:18 +0300 you wrote: > The "*hw_stats_used" value needs to be set on the success paths to prevent > an uninitialized variable bug in the caller, nla_put_nh_group_stats(). > > Fixes: 5072ae00aea4 ("net: nexthop: Expose nexthop group HW stats to user space") > Signed-off-by: Dan Carpenter > --- > v2: Set the variable in nh_grp_hw_stats_update() instead of > nla_put_nh_group_stats(). > > [...] Here is the summary with links: - [v2,net] nexthop: fix uninitialized variable in nla_put_nh_group_stats() https://git.kernel.org/netdev/net/c/9145e2249ed6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html