Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp306748pxm; Wed, 23 Feb 2022 00:21:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYzWREi6oYZEEiuh1Rec8OQe10jzzYH8w8vc6PvU5DFunbkJ0dRMv8bDLinnKLXFCIrtYE X-Received: by 2002:a05:6402:34d1:b0:410:fede:429b with SMTP id w17-20020a05640234d100b00410fede429bmr30103866edc.250.1645604499462; Wed, 23 Feb 2022 00:21:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645604499; cv=none; d=google.com; s=arc-20160816; b=t0FcNo8HyoIGhV7zPBZvKABuW2K4AEWjpQEHftHWqIx853wVlWGBYKpHsDePks+I2d wL4Bb2vCx5W4nPFW9+eIG0uN9aprxJum/wRSrw2NrFjiiygFuAe4eB5OOotyU+pMwOaY qsTTdJxjm/0LeJJeOPR69lnM5tZZj/fFAOuKDNZVJBIJEFUHe086Xs0ZxnyjGbFZkxDC aULdgJaeX8lrOrzcD4+RW9l0RBJ4Y+hzOkmjhG/C5wXPQG+MqoNrH5DKYaIkIwo7hyH1 blmZAAYcsHYDkcKNtQC37vrgGMApLvq6YKNbY4ouM8w/c1iMZMaEOhbH7RWHIGVw3GHJ 6Ntg== 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=VS6BEEHlduMkfG+EO7ZpvoPFxnn56ZkSo4LgppkOT1s=; b=d2GV0aXh/ns5T1fQXBjCUR8VTNiPXUJLHW5JmwcJ9MLdtrhrO1je09M+OCLNzVr2rw t9CYpKb2j1ojR+IbDtXbtUFHkHNWUp2DuoeHTJHWWoItJ0Qe62yUCMRu4QaJPYj3e9S8 blgpegRNkEs6VGQkfd1aBBct5NzTo4yyyyNXJ86JUSuDFuIbkFtVWaC4SmAi5r27AbuQ tEL7DUc36Gy2nx7ElJCGgWXp/dUG9aZ1B7jmrhOLd9EbIVb2A6R2wdgGleXb1P2WB4l5 8jdILKKCTYQIxxQ93x5K8sDAeXs110nZ/0ak7b8G7/G7KP4f33lqFBJzH25GxF3+WWmk WU1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MiP1edxj; 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 n1si11278933ejl.240.2022.02.23.00.21.15; Wed, 23 Feb 2022 00:21:39 -0800 (PST) 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=MiP1edxj; 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 S235553AbiBWBKh (ORCPT + 99 others); Tue, 22 Feb 2022 20:10:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231278AbiBWBKg (ORCPT ); Tue, 22 Feb 2022 20:10:36 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF56360D9; Tue, 22 Feb 2022 17:10:10 -0800 (PST) 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 7A98C61444; Wed, 23 Feb 2022 01:10:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id C9CDCC340F0; Wed, 23 Feb 2022 01:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645578609; bh=Nx5sbaJGxfOXQrZG46XRC5IIkopqYeHN8vpkbXzQSm4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=MiP1edxj80mhLNmdvqxK+EPcXakBoAfaD4uxGFnPIZmNGxWn5x1t4tsJohEy9Yfa0 5St3GcpfmG7KHndEd/0JUnPrrY1MJ3gZDbyu7fKqFBA789J5OivPmeWRnyBuxRspwA LpQlrTNTF5m2QzuKtXqkZy8646nAcFznkzojpk6ivsuZOtvSIltiZblBM7JJbUNIta TjDGePX3lt2l1yiq4zYVX/KP7rv9ODlvnX6uH1Gq3xHf0OqDJGGd162bvYeplnAk/v oh7cCzCpPsi1PaxkscWpy82KXKewZmV1jbcUXeFh8jcNzxvf3wOZLXzQjmcvMAF/NT LWj/9XMXZ5fCg== 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 B39C8E73590; Wed, 23 Feb 2022 01:10:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 net] net: dsa: fix panic when removing unoffloaded port from bridge From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164557860973.30746.7349740017886705989.git-patchwork-notify@kernel.org> Date: Wed, 23 Feb 2022 01:10:09 +0000 References: <20220221203539.310690-1-alvin@pqrs.dk> In-Reply-To: <20220221203539.310690-1-alvin@pqrs.dk> To: =?utf-8?b?QWx2aW4gxaBpcHJhZ2EgPGFsdmluQHBxcnMuZGs+?=@ci.codeaurora.org Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, kuba@kernel.org, alsi@bang-olufsen.dk, vladimir.oltean@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-7.1 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 (master) by Jakub Kicinski : On Mon, 21 Feb 2022 21:35:38 +0100 you wrote: > From: Alvin Šipraga > > If a bridged port is not offloaded to the hardware - either because the > underlying driver does not implement the port_bridge_{join,leave} ops, > or because the operation failed - then its dp->bridge pointer will be > NULL when dsa_port_bridge_leave() is called. Avoid dereferncing NULL. > > [...] Here is the summary with links: - [v2,net] net: dsa: fix panic when removing unoffloaded port from bridge https://git.kernel.org/netdev/net/c/342b6419193c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html