From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C626C4320E for ; Fri, 27 Aug 2021 10:19:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3481F60FDC for ; Fri, 27 Aug 2021 10:19:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244965AbhH0KUQ (ORCPT ); Fri, 27 Aug 2021 06:20:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:43440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244708AbhH0KUP (ORCPT ); Fri, 27 Aug 2021 06:20:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2510060F4F; Fri, 27 Aug 2021 10:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630059567; bh=EOO6pKRRm3/g0M0RTzHPyA5sIKLS/eIq5VJThmOrCEw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tSWxtIl/NPkTQ+WN8KhkK2/CGY68e9SPzcz96GYq8DQDLZj+lR6JyJOm5lERl4GRf jAfeQbjuo/OQ/PZWP8pPTuxkcUqcArquIRHzcRRhB95mtj9pphex7YpebmAVaIvN4Z NQVgSZvHUzrTPuPHX/PExgvqfsFYW+73WX1C4eSE= Date: Fri, 27 Aug 2021 12:19:23 +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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 11:57:53PM +0800, DENG Qingfang wrote: > Hi Sasha, > > On Tue, Aug 24, 2021 at 11:29 PM Sasha Levin wrote: > > What's the reasoning behind: > > > > 1. Backporting this patch? > > 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? > > 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. thanks, greg k-h