Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3666883rwd; Sat, 10 Jun 2023 12:05:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4WhEkJS6ZaIL+wt8SbRSAWvTmb3Oz3xp2UKFWTBwk7BxYUB9XD8rRW9JLFn/obbCSvxTSQ X-Received: by 2002:a17:90a:345:b0:25b:bd4d:bd18 with SMTP id 5-20020a17090a034500b0025bbd4dbd18mr1503453pjf.16.1686423919606; Sat, 10 Jun 2023 12:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686423919; cv=none; d=google.com; s=arc-20160816; b=m0uS0UT/shC4vHek+du1l0chKPgk/IelZCxr0OavQqnjMi/NsK9jopB+KaegQ1mFSA vvjtHXmp40eL78OAZKlRvrvfp8sgpJg6da7uFKpO34hLskwEgIiRbT9BMPbz4Y4kmPSa BfI7/z3jVrc4tj2o1tJ/F32S2x2Pp3EwHTtHr100rNGCM9fWxq0BroqPn8Wo/plPEVIC eO4CfJyz6G2TFqE8z1yCLkXk+0Ez/TIvmWehryyY1VImy8ZAVp1vLKgJC48nNfNDsg4/ ELS4oO/UEECzwBPXG2zePF9VP197Vo+QlFSmygjBeYvDvo2Tm2OvHAo43sJzUuiMIYO0 Uitw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=A0RlF2SCoY8DOBZFSAE7oSXdOZufl2PQqXGpj/ndfFo=; b=iPpp6eTyiV++kndCgh/I/QsEbTRADVuVBiTuQOdRzKgnE1ALT9a2SFQugWSgsXY23N y8dXWSl+FMwRMMA6OEXZNDYpVLk2V5gJT/HLBa6mjZtOjuGZGuwYgFQWWjE//eUU31/l swnlZRnbu5PyxGjGC0CSEBMBPMyR5X1altxmrKWYj4ADUElY9SY2Zlf3YY/QqgCvJ6Mh ewLLNNggmfM9+D6lEql92iXFpyjMv3nQ/iOyTe9T4mT0zC0uc2f9MFAhUQAkZRx2rZaR c8/4Oo3uSGRZkUYuoh065uRITjMdT7I5dUSukErNIj5vQ5Zp27crJBhiTJToEkZIei8L /f2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qc3sSnbY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a4-20020a17090acb8400b0025638cb2d67si3411806pju.51.2023.06.10.12.05.07; Sat, 10 Jun 2023 12:05:19 -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=@gmail.com header.s=20221208 header.b=qc3sSnbY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229758AbjFJR5L (ORCPT + 99 others); Sat, 10 Jun 2023 13:57:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjFJR5J (ORCPT ); Sat, 10 Jun 2023 13:57:09 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EED34BD; Sat, 10 Jun 2023 10:57:08 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-30aea656e36so1946641f8f.1; Sat, 10 Jun 2023 10:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686419827; x=1689011827; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=A0RlF2SCoY8DOBZFSAE7oSXdOZufl2PQqXGpj/ndfFo=; b=qc3sSnbYwiTFPHv4KX+/zz30qPr0aKzhUV+yAYQhdIK/ubrS6U/MpjW47xI+xSqTlG 5c8MjhMI/vC+3L4Gc+5GT4yp1OpdrBR9+rxrv/QMgPfqkGRFiJzsuTbPh3srcAhQcJAE Su91tgLfnhbg6P5EhPCN6hD2xIT/qB04aEvBAGIecIM19DulbPXr1N3xy448pn/JkVZF XIH/l9UG+Hfynm7yYosycnIkhaLKPNovgVsz3CDhungzZYqB70GZwQZQRRkp66MXQ9TZ jmjgL+b83qWQmSRk8Ce7FmnahwlpUZbT+6jZZ00x147TKDlkmI9NNwHQ0mB2JTbjlzBW Ybiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686419827; x=1689011827; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A0RlF2SCoY8DOBZFSAE7oSXdOZufl2PQqXGpj/ndfFo=; b=BFgGKQxiNu0HwCs3NXfv30L74ZbJOQ2Ld698m8FUk4lD56oPXyiQVgmYUdO+zJUH31 SHus4VcdKMYrgRBtDHQzX/Pvva5IWlJMcF5hyPh/38TCLh2RB9kHzvNw7cN527ydbrqd Y15aJIil0DpLGD33h/jyXdy0kTr6dN8Aw4D6DUwwIDF3zp5jmO49IG3hZ3fSS4G307hW plOY17sOYSabuLr3g5Wocivw2j0BbuVqJMKLUiTDVu99B8EjNF8jmcVniVkMJ8xO16SD MQJp/iSdVcpBZl6S7B/cP0jAwGI4dr1nveQZpk9dPH0cEWjPecYVHeQxqEN4bY5bSgpZ AxVg== X-Gm-Message-State: AC+VfDwzhIbwSy1S6sydjbZzCs7p/Sxbp6CECCfwtYnCjGAl4GXtUndU o8YBoB5M0UapM9QNiggj+I8= X-Received: by 2002:adf:fd87:0:b0:306:3021:2304 with SMTP id d7-20020adffd87000000b0030630212304mr1609781wrr.60.1686419827127; Sat, 10 Jun 2023 10:57:07 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id e10-20020a056000194a00b0030497b3224bsm7613288wry.64.2023.06.10.10.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 10:57:06 -0700 (PDT) Date: Sat, 10 Jun 2023 20:57:03 +0300 From: Vladimir Oltean To: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= Cc: Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 27/30] net: dsa: mt7530: introduce BPDU trapping for MT7530 switch Message-ID: <20230610175703.r2wlzfovl6fnebu2@skbuf> References: <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-28-arinc.unal@arinc9.com> <20230526170223.gjdek6ob2w2kibzr@skbuf> <20230604092304.gkcdccgfda5hjitf@skbuf> <20230604124701.svt2r3aveyybajc3@skbuf> <6a64db9e-ac6c-c571-fb8b-ae3aa2da07b7@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6a64db9e-ac6c-c571-fb8b-ae3aa2da07b7@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Sat, Jun 10, 2023 at 11:32:45AM +0300, Arınç ÜNAL wrote: > Maybe I should submit this and LLDP trapping to net? Currently, the MT7530 > subdriver on the stable kernels treat LLDP frames and BPDUs as regular > multicast frames, therefore flooding them to user ports, which is wrong. > These patches could count as bug fixes. Yes, I believe that trapping link-local frames only to the host constitutes "net.git" material.