Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp988090rdb; Fri, 1 Dec 2023 04:21:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQ00nNJ3F8KRkiXieQ77gCkpsREoDooPC3Beq/Fp5tb1Ky9Zh3H9mQEPbbCz8fWXYfBbKx X-Received: by 2002:a05:6a20:8e16:b0:18d:1321:c294 with SMTP id y22-20020a056a208e1600b0018d1321c294mr9205528pzj.20.1701433269455; Fri, 01 Dec 2023 04:21:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701433269; cv=none; d=google.com; s=arc-20160816; b=Z0uqcUxeJzyQvH84by5bKPZFd4ortIYfiRLYM8G14jH+2vMuoGG9HnKdTuoThRw9fJ NZjjM8BO7F+TOUZx9dNh1MC+cLmrEEuckt9wvccRaEuLoBNEC9z+hwhwCp0diqdcCDRn TEwCUuGI6484mLkvNN1ZPV97i4ez+63XoaAo2KU8eQS9yT5QdjLvxFpuNbvtmnWIuDTl 30ClZOG6oAvn+j1EiQ7Z6HaNce1Qb2H9MzEMbBGsmRdX7AlI8RXpBfTsFZ3zf2ANPrwh l22Vepd9wtPeNUhI6DGcY0C/va3tCPDkdwFNXVvfmD/1Sovwwmbdm7o1L+5tJYcB+Qqc ffbQ== 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=NzBH/AUbVxSWF7TEIGBKzlMGcc08+s2idf78x/ME838=; fh=d7IB7b7OxOSH9Gp88k+3ECgNYaHJwGWRECkgKhsvQyc=; b=erU0MJ9u9S7taRwPnVbxJ+kU9VrGKY2tWemRHsTTzm59wfGvbwqeP0d11pAxhaS8GV 8S5SYz/BVJrn3AB/IdYWw1oe5V67E2c7/yy4ggk1IXSUHUJuo1epZYpr+sGqWXlGULkR kUTeX6QVlKxqH987xVc61f04efCM7lGP6OMEBwYmQRcSDviPZ6nEVwvPvhjoDQsskQy+ RCRhdjSB7oAoWcnLpBgwG9aEozLZA1ttAt6GCzWz68jvZHesVHh5VfaPShN74/3kDVbr uqNyTJ7mB6n29S3P2Zzeecw1Sxt4ILczbCkc5vlSEQpOYY3A5ERif5sHw5gdu9ueSiov mh5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tgtB34HN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v16-20020a056a00149000b006cbe3c123a6si3266310pfu.9.2023.12.01.04.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:21:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tgtB34HN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 26EE0817ABFA; Fri, 1 Dec 2023 04:20:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378794AbjLAMUV (ORCPT + 99 others); Fri, 1 Dec 2023 07:20:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378787AbjLAMUR (ORCPT ); Fri, 1 Dec 2023 07:20:17 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71F6B10D7 for ; Fri, 1 Dec 2023 04:20:24 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id ECD69C433CA; Fri, 1 Dec 2023 12:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701433224; bh=r5+SzKU9zczSRoMsLc2KT920PUqyCU5KZGvs9wZ04Tk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=tgtB34HNWEu4yrvcSUzDhNwu5XN9cSY4NLKuY5A8dZ7sh5647TPmbFX05LyO/9JgM a8XTzTgVioej19Z/BemV5alT0gLcv7DpXXtxvlaHsBazju7ZNTkZVn5PwHN2aS3PiR 4sC7ARSO5nfC3sYWA0sP5lAG6USLAF29jrRI4+geC7tWKqhB/mvH5VP+VmT3oYVQLo jHZXugUhwSY3g7ct//QJzrhRb493Z/wFpfV5XqVegaFdricVB4kywRpJJmLazIBHje RVFrpUNxODpxWSMDy/ijM1RG+B0aWo1kzUmGv5dXVO9PstPttYoTNSuH2e1E6C6gvY j7haFk0biq96Q== 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 D4DA1C59A4C; Fri, 1 Dec 2023 12:20:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3 net] octeontx2-af: Check return value of nix_get_nixlf before using nixlf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170143322386.17347.11199094399378598033.git-patchwork-notify@kernel.org> Date: Fri, 01 Dec 2023 12:20:23 +0000 References: <1701236508-22930-1-git-send-email-sbhatta@marvell.com> In-Reply-To: <1701236508-22930-1-git-send-email-sbhatta@marvell.com> To: Subbaraya Sundeep Bhatta Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, sgoutham@marvell.com, gakula@marvell.com, hkelam@marvell.com, lcherian@marvell.com, jerinj@marvell.com, naveenm@marvell.com X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:20:55 -0800 (PST) Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Wed, 29 Nov 2023 11:11:48 +0530 you wrote: > If a NIXLF is not attached to a PF/VF device then > nix_get_nixlf function fails and returns proper error > code. But npc_get_default_entry_action does not check it > and uses garbage value in subsequent calls. Fix this > by cheking the return value of nix_get_nixlf. > > Fixes: 967db3529eca ("octeontx2-af: add support for multicast/promisc packet replication feature") > Signed-off-by: Subbaraya Sundeep > > [...] Here is the summary with links: - [v3,net] octeontx2-af: Check return value of nix_get_nixlf before using nixlf https://git.kernel.org/netdev/net/c/830139e7b691 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html