Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp602683rwr; Fri, 5 May 2023 02:02:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7TyZLWDX4PE0Tl3HhJdkdaFlLCoFVJwVxQCO35FDQz7DYIGSCyvj9Z0B/umlPV25bzBCFl X-Received: by 2002:a05:6a20:244d:b0:f0:ec64:f3db with SMTP id t13-20020a056a20244d00b000f0ec64f3dbmr1011327pzc.24.1683277330348; Fri, 05 May 2023 02:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683277330; cv=none; d=google.com; s=arc-20160816; b=IsQK/4stVfdEmF4Dxri48AFN+dKAhj0o9MVfyOwe7g4D+I+4ryP9nnsblD75ZMz/a+ yZP6A0h2VoILQzAQdUJSge0NFOZJdaC3LSxeTbZcCBGdeuTqzIbUhAXrsERuCtDG4exs HL9G1Qq47CiYe03s04ejSqd8p7sbplch/lkYVmLu2DK3Szbeefg4q5QUAQ734+V0qLRV FIDkueVlsZdyDbBryYDLamIs0lSa//MVeWhNki5ck7ZktejsX1B/1HnyoJ7hbgmkhiEL k2tTrm0/W7jp5A1LpYcAK7WIVKzfLN07SDW9f6GRs4ReuLwKiN5hFpHoejz9PbhsznTb D4Xw== 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=8gOam/qcfifS78rZhTrXIsumIHqrdLGrfgDgfFvmvuU=; b=UUy5agu00TTWtGmbsVYB04mdmHYzwqBX9K8RHs7UaEB+Jyrv+LSXizWb3HCTfnhTme Giz+PXLVrObCYhn4UUz/QpEl5xUCqBn+UK80l1kqAXaldqqzZ17GkSg0AI0xmJLn7MRv jz9IM2IVegBa3mFQvGbzc7qdV+YSEIHSr6dfuO8FdcUjt0rde7Q3dfzOAE75NtKftdfb VbiWMfN/S3+o7oLKi1/DcR/OCdg33lxL/RRzlZMNnFTkfA4Sze0vT66nV6DBcaA38+wH TVCWVRmJYFKXZtukYMLFzCGg8uhepm37CfL1tj1LUjIBjpsQWNl1r9Nxes8u9iI5//hV rcvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rck/zvnV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k198-20020a636fcf000000b0051a650b8f62si1502481pgc.836.2023.05.05.02.01.55; Fri, 05 May 2023 02:02:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rck/zvnV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231492AbjEEIkX (ORCPT + 99 others); Fri, 5 May 2023 04:40:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230444AbjEEIkV (ORCPT ); Fri, 5 May 2023 04:40:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBB071885E for ; Fri, 5 May 2023 01:40:20 -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 5A21463C67 for ; Fri, 5 May 2023 08:40:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A4AC2C4339E; Fri, 5 May 2023 08:40:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683276019; bh=s//jhL1QL9HBWOF95GECV05CZMiyv1ggxb0bVCpm1ps=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=rck/zvnVqPoUSJIUpRWgIggMZNp8kSl4VQ51jhJBeE0rtlunACVirJ2T9iPMht89X UBuxGMN8nDjKmdhZlMs3n+rOklckcdVWtQkz7Wyr+7aWWPHOZOOSPqnyLhIKKa2lB3 OTazGhgOI7YtObfODZZr/XO9sYeiOFl5ZFRbkevxV9TSbEXU8TLSpt1+LN2xgegVSY eI34KLTuLAXMxr/WtvQTxvaOGp/+HXiib1/9kB+qaAAkENxdwvoCPY05u2nFRXNkaK PcZHhoxZnAbLVoa1rpiCsfceosvMg/DLJF4+JbBZ4kEcCtRv4eK5mhY+WUQ9oIAc4U OAFhhpE91fSpw== 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 88919E5FFC4; Fri, 5 May 2023 08:40:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: enetc: check the index of the SFI rather than the handle From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168327601955.11276.10504111383601482585.git-patchwork-notify@kernel.org> Date: Fri, 05 May 2023 08:40:19 +0000 References: <20230504080400.3036266-1-wei.fang@nxp.com> In-Reply-To: <20230504080400.3036266-1-wei.fang@nxp.com> To: Wei Fang Cc: claudiu.manoil@nxp.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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.git (main) by David S. Miller : On Thu, 4 May 2023 16:03:59 +0800 you wrote: > From: Wei Fang > > We should check whether the current SFI (Stream Filter Instance) table > is full before creating a new SFI entry. However, the previous logic > checks the handle by mistake and might lead to unpredictable behavior. > > Fixes: 888ae5a3952b ("net: enetc: add tc flower psfp offload driver") > Signed-off-by: Wei Fang > > [...] Here is the summary with links: - [net] net: enetc: check the index of the SFI rather than the handle https://git.kernel.org/netdev/net/c/299efdc2380a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html