Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp95532pxb; Wed, 1 Sep 2021 23:02:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZXfB0Wc96IDacGJSldsyVv03bA8H07+udqG21nIv8sPCA07vOaxE/XfsrqU6f1qmICKsp X-Received: by 2002:a17:906:994f:: with SMTP id zm15mr1934323ejb.480.1630562525508; Wed, 01 Sep 2021 23:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630562525; cv=none; d=google.com; s=arc-20160816; b=BCBnJQJlbgYlTP/RhhV93LcGLBPyg4kz3F4R6evc7bwpEpLmlvmjqOm+cydNmJW7dW cIa4QEXs50Qvpde0xRl95tcdS3jO9w/CPEhwSXp1ZJZp+2X5M8bXM45prcl5tvsAPwHO UALgqPXfSwtDVZSGK8waay3aD6rhrGl7XvxXXL5qkotYV55jTTXLmN1IubRTVay20lej 5w6iY5NvfB8zVatR8FUdqUsZsyDJXijNtxNdtUJP/ZPSKiyONDOachSNG8TonBRAWpEd h2Ax46UbabQbYGyz4sLH5SyTuZ60bi4rni8B5BLb5DMWvPzErYBFdZFQehBzK/V+I9IJ oIEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qJpuRD+q/Xx/5tJJlcTvmSGdAJMqTyPuTtPDSJEW6s0=; b=b7tkh5S1PPuOpvbD55WiUKuPy6ElcFsc557d1BDFM4Rx/W8D3tgeR5b9gMAJ4QJRrE vzLPByBdVSUAs/UdHl4CabABL1wxLpwcSSzz+gjOffyUxc77NVjRaTA1DFOOg45XG+OY hY9DVpkxYKBZ/RdTvpkGkUa/GuzxcVrPdPhgCu/AyYhpcUsEKE0Qigue8KQz/ngRaGwe 2VDBoPE8DxcOaR7QealfBBOB8DIcXvqka9CwtVvmqJpd1plgsJpVIfsxvq8BywibekFl fQaae/E751prrAi9U7OuyIo5PIF2JC9lDaL4rSZ64rVFe2NSWrRaGHbbKKxnY+dW7CeH znwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C7LSfgtM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq40si1092155ejc.619.2021.09.01.23.01.16; Wed, 01 Sep 2021 23:02:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C7LSfgtM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241232AbhIBF7l (ORCPT + 99 others); Thu, 2 Sep 2021 01:59:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:53244 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238732AbhIBF7k (ORCPT ); Thu, 2 Sep 2021 01:59:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6434760FC4; Thu, 2 Sep 2021 05:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630562323; bh=BwqwkSdoVWCyqzWTEEXTceIXMVKRB8SwogsNaQ7lvZI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C7LSfgtMMuexPix16DaTOH3ZmOTPFUlZ+0QlunclyfNWrFDaXWWHvVjHPECgfEZNb A8ffnAGdS3xUa7OtW6S3+ctupWMoTHuRTgRJOhCHlMCqlz25kbNNQzi5CBFAuINy64 fiNXWS1ZVAoh+5Zr6BccQx/iRX55Ibv2TcML/o+0= Date: Thu, 2 Sep 2021 07:58:37 +0200 From: Greg KH To: DENG Qingfang Cc: Sasha Levin , stable@vger.kernel.org, Sean Wang , Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Matthias Brugger , "open list:MEDIATEK SWITCH DRIVER" , open list , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" Subject: Re: [PATCH 4.19.y] net: dsa: mt7530: disable learning on standalone ports Message-ID: References: <20210824055509.1316124-1-dqfext@gmail.com> <20210902053619.1824464-1-dqfext@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210902053619.1824464-1-dqfext@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 02, 2021 at 01:36:19PM +0800, DENG Qingfang wrote: > On Fri, Aug 27, 2021 at 12:19:23PM +0200, Greg KH wrote: > > On Tue, Aug 24, 2021 at 11:57:53PM +0800, DENG Qingfang wrote: > > > Standalone ports should have address learning disabled, according to > > > the documentation: > > > https://www.kernel.org/doc/html/v5.14-rc7/networking/dsa/dsa.html#bridge-layer > > > dsa_switch_ops on 5.10 or earlier does not have .port_bridge_flags > > > function so it has to be done differently. > > > > > > I've identified an issue related to this. > > > > What issue is that? Where was it reported? > > See Florian's message here > https://lore.kernel.org/stable/20210317003549.3964522-2-f.fainelli@gmail.com/ THat is just the patch changelog text, or is it unique to this stable-only patch? It is not obvious at all. > > > > 2. A partial backport of this patch? > > > > > > The other part does not actually fix anything. > > > > Then why is it not ok to just take the whole thing? > > > > When backporting not-identical-patches, something almost always goes > > wrong, so we prefer to take the original commit when ever possible. > > Okay. MDB and tag ops can be backported as is, and broadcast/multicast > flooding can be implemented in .port_egress_floods. So what are we supposed to do here? totally confused, greg k-h