Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3384311rwe; Mon, 29 Aug 2022 10:35:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR5g7qvB97NeSGQIaN89D2ih6bzn05I5hf/quFWhHxmLDdvjXXfYDg69DOameb60/KtFzeI7 X-Received: by 2002:a17:906:da85:b0:741:40a7:d08d with SMTP id xh5-20020a170906da8500b0074140a7d08dmr9230664ejb.263.1661794511833; Mon, 29 Aug 2022 10:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661794511; cv=none; d=google.com; s=arc-20160816; b=btH9DHu5HTP66yQz0VVoLEu1dve9sybUUoRW6gHAZv2ohg0tII8A0HE1Qe/1WKpfzM PnbzFhxxnFW94qqSrwYno9vfv2VENGQXSWKBeom7EfW5F5MVwsUNQ3x9dABPExJ6oXhZ Nkp3lm9iAQmZWFcgeLfynifbtuXp/N3YjgI/3HqNaoUqautAfZwuuZB7+UeMAhQTgz4S 43fjHzGw7BZ28CG0yVCHQLU5KvP3qcM+7i3nASUgjIqvocDYquAl7jc9xswb5CjTeSWI dIRCJXaUAB82wcZ5vtHGfGkFE+DgXww/vF8afhg9Raml5RmasIm7Gnq8LoGVIzphHKl0 zK6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=gxP8xhIlTMO7Mz2Pz5R04VN4vzYbcTpBhEPBZ+h69/c=; b=N/aYqLAAw/fM01fApQ/IGgDcMRmTTvMvq+hNBQU+jtPx3h8B7nnFshggmqa36qgn6M In6qsbLS6bjnNfwL0f6MU3D8bE6N5NeEcrP+V/Hk9NhqQxMhipdjJt3RfOZG7NfEAWzc U/Y1ng5sI1ieJdLQ0bPn9Or7MeMb3YpXvJ7F8KlJSsYPDW07NYbLQiA5s5ipz57WcMYL 1Em6N2ARSq6lvM0+6MwBhop38sbEg60UcHE1BEtoBZh+kuIwDNVGl75EukW8FNARdWRM M5hiTRPEqrchzn+8/9k+Ea4vJoZhKc/f/vdm3u62+vK6V8OsHJ99dny23w/tFU3WiMWh 8QBw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf14-20020a17090731ce00b00732f74749ccsi48719ejb.581.2022.08.29.10.34.45; Mon, 29 Aug 2022 10:35:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbiH2QIE (ORCPT + 99 others); Mon, 29 Aug 2022 12:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbiH2QIC (ORCPT ); Mon, 29 Aug 2022 12:08:02 -0400 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5E5C85FD0; Mon, 29 Aug 2022 09:08:01 -0700 (PDT) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id 6948518848F2; Mon, 29 Aug 2022 16:08:00 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id 5CC5025032B7; Mon, 29 Aug 2022 16:08:00 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id 4FD1A9EC0002; Mon, 29 Aug 2022 16:08:00 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 MIME-Version: 1.0 Date: Mon, 29 Aug 2022 18:07:59 +0200 From: netdev@kapio-technology.com To: Ido Schimmel Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Florian Fainelli , Andrew Lunn , Vivien Didelot , Vladimir Oltean , Eric Dumazet , Paolo Abeni , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , UNGLinuxDriver@microchip.com, Sean Wang , Landen Chao , DENG Qingfang , Matthias Brugger , Claudiu Manoil , Alexandre Belloni , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Christian Marangi , Daniel Borkmann , Yuwei Wang , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v5 net-next 6/6] selftests: forwarding: add test of MAC-Auth Bypass to locked port tests In-Reply-To: References: <20220826114538.705433-1-netdev@kapio-technology.com> <20220826114538.705433-7-netdev@kapio-technology.com> User-Agent: Gigahost Webmail Message-ID: X-Sender: netdev@kapio-technology.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,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 2022-08-27 20:21, Ido Schimmel wrote: > On Fri, Aug 26, 2022 at 01:45:38PM +0200, Hans Schultz wrote: >> + $MZ $h2 -q -t udp -a $mac -b rand >> + bridge fdb show dev $swp2 | grep -q "$mac vlan 1 master br0" >> + check_err $? "Locked port station move: Entry not found on unlocked >> port" > > Looks like this is going to fail with offloaded data path as according > to fdb_print_flags() in iproute2 both the "extern_learn" and "offload" > flags will be printed before "master". > The output shows like: 74:e1:e1:2c:4f:18 dev eth8 vlan 1 master br0 extern_learn offload sticky locked blackhole "sticky" will of course become "permanent", but I can still make it more resilient by piping grep. I suppose that I will keep the "sticky_no_roaming" test even though it is not really needed here anymore?