Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1845071rdb; Thu, 7 Dec 2023 10:10:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGeYHCmubja6a7wxnKMdBFW0hsvGaEPrznNleSAcuz72W4RFFgiUxggDztHbXZcglbDKsNE X-Received: by 2002:a17:903:4c2:b0:1d0:cd14:193b with SMTP id jm2-20020a17090304c200b001d0cd14193bmr2642880plb.31.1701972653180; Thu, 07 Dec 2023 10:10:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701972653; cv=none; d=google.com; s=arc-20160816; b=rpMnUALcGoJCUB8XAdKtUDRA0/lPXIiP3JObVRsedUdqt8sGfVkH9PdI1n6UiSZfI5 CDvlAe4t0WLWxv2dtyOButZYfCIbnXmdmS2ALIflF2So9d1giPH3399osCsbUj3rLCkW YOu3EAPGF+GcyLgxCMPlzAFf+yJM7XT9YInHQeLXNI0o1K34S6bT7dITavGTS9TUiPu2 3tq0HfEQMIqwtODqhxeYGWDLzsimkaLtfBrEbl/G3S9s84lCgAuJp46Mbjr/FxFZTWfH gdCAdsdgwgjqVVIi6on0KhMZm0T28Eg+0bDSpIK00ESkREfO5019mOJw4E45eJKaYV8v 8CPg== 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=kea5w8L/4CHyQWcK+Q2BdvFFEOXL5hfqTB7g4PuhGuw=; fh=WO1OTqT43KUZrdhavRgQmFLhjSZ9TtvpGvTW+lGKocI=; b=eWJ01pAxnXez+Mn8eRBWx9q+SThQyn+QRB9A+3PLVJpSrVoqx3sE8q376CXmSC9cTu Q1+nLZwTdv953fdNJkrfTjXtvq4YVRHBBvVEfIGTpOmDei6djaC0Yv/FW5yXq1vqOl1G k583Qj8E+iMUmcceOWkkCaflcmVHaYCBm6ptFrW+oek80wiUQAmPQ+rEolXiEM3KqQkA S8fIVoQVxvk4y3ZsSnrmPkSBeXn14Cn0HSGb/Gouwuf/72MPnYW2/dKdd6MimPJ+s79Q a98UgvujiKsdsy9/JZZwt2/L98yTgqkIdouleT7JSPpdN1nVY6TCxAMK5AAvMm+XYupm Rp2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BR2sLRZB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id c15-20020a17090abf0f00b0028869f6511csi209067pjs.18.2023.12.07.10.10.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 10:10:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BR2sLRZB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 07822802DD1B; Thu, 7 Dec 2023 10:10:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443578AbjLGSKi (ORCPT + 99 others); Thu, 7 Dec 2023 13:10:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbjLGSKh (ORCPT ); Thu, 7 Dec 2023 13:10:37 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 194E010F0 for ; Thu, 7 Dec 2023 10:10:43 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 8AF72C433C9; Thu, 7 Dec 2023 18:10:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701972642; bh=wn/rZxaQ6CPwgoghWVPT2OqAL9b44Y+FKEXiemEFjYQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=BR2sLRZBFK/Oivcp9YQ3xIJYkQucj47JQmP2e3RZ/1Lld5zrh1W6LjKmfbA9WjX6+ w/rfuAZE+Nb6YwV7qiuADkII9fWUVf95m/jR1a3Wk+sWKTctXhNvLSBUxX1wZ1en2a 8p3tn4BUg7sutTI5c48bw0z//nDVw43F/FwOWqRLM242jSZdYs/FS9fsp425oY8j/Y drRGWy6Tr99X1XO9Vp34L84ODZgKsthegMRXT0L8LkcRDxAEN6GAtFCXHGfacGag22 WSmJ1L2gx5/HATBGnB4vZcgmeaH7hejwdpBk/em88MvR//x1X0s6EoYpjDnBOZZ1xS +2kNvagFMbspg== 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 7089DC43170; Thu, 7 Dec 2023 18:10:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 net] net: dsa: microchip: provide a list of valid protocols for xmit handler From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170197264245.15422.7349743280865094840.git-patchwork-notify@kernel.org> Date: Thu, 07 Dec 2023 18:10:42 +0000 References: <20231206071655.1626479-1-sean@geanix.com> In-Reply-To: <20231206071655.1626479-1-sean@geanix.com> To: Sean Nyekjaer Cc: woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, arun.ramadoss@microchip.com, ceggers@arri.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 10:10:52 -0800 (PST) Hello: This patch was applied to bpf/bpf.git (master) by Jakub Kicinski : On Wed, 6 Dec 2023 08:16:54 +0100 you wrote: > Provide a list of valid protocols for which the driver will provide > it's deferred xmit handler. > > When using DSA_TAG_PROTO_KSZ8795 protocol, it does not provide a > "connect" method, therefor ksz_connect() is not allocating ksz_tagger_data. > > This avoids the following null pointer dereference: > ksz_connect_tag_protocol from dsa_register_switch+0x9ac/0xee0 > dsa_register_switch from ksz_switch_register+0x65c/0x828 > ksz_switch_register from ksz_spi_probe+0x11c/0x168 > ksz_spi_probe from spi_probe+0x84/0xa8 > spi_probe from really_probe+0xc8/0x2d8 > > [...] Here is the summary with links: - [v2,net] net: dsa: microchip: provide a list of valid protocols for xmit handler https://git.kernel.org/bpf/bpf/c/1499b89289bf You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html