From patchwork Wed May 10 11:16:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Mayer X-Patchwork-Id: 9138 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3543052vqo; Wed, 10 May 2023 04:24:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dCZRLVtCEW4aPMHPiH9McNkNsIqNh5/7XWa0ICsV7pcT5jpb0zCgMIzGMKQn4vkXjaoco X-Received: by 2002:a05:6a20:1455:b0:f2:7dd:2753 with SMTP id a21-20020a056a20145500b000f207dd2753mr23609073pzi.33.1683717875428; Wed, 10 May 2023 04:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683717875; cv=none; d=google.com; s=arc-20160816; b=TXeOueriCj92Zll1ejyjouLWVN9jP4VDvTlJZ7tCLcBXLQ9ov19E2O8bsp9FjQrTVJ gIu9UYnQESseILTmG7m66HIzDe8EwqHOWLa3fX86pkonhEZJIf22jK1c1lM5jEbn5VSX Xty1LR22NTLVObl/osnpcw2o6Z1Ntu99Bkc47I+7ZZg4btOcNaz6uq726DvgU4B5AzoV NBBUQrxAUG6e7JPGQmrXACa7mb+GuP8uctn8kw4fnElKD9lId5XwdX+Y8fOKc7NhB4iM XV+AG9hkF2Vy8t/yQsSZrG0w0BFGvP0lCGpR/HqA4UbLt9Xha1iYjxv86on4JqFIGxKv oj/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=gppWymxoPh773D3uoH+ywZ9/fVPcDaeZJ+xjfCzd5gk=; b=eKsEKMsSlBTmWFmL16C06s3a+Ly8QHZtHxxHVDCFNSRaYy2qQC71jlHsSoPYVO038w Sm9Cg7Wf0ab2vh2dUE2vRSDeMd3f76rcvkZziYLCHbsC4Cy8fNg4judCyhRjg+FRqxRc ebtdkWi1Z7vKBVcPdo+W+ydsmGu+8vfcbr7Ix3Uf6sDulAxzTZZdjVSY3CqH/Ks/aj6P AsnzO5u2FUlMUm1dIS4rNmUKjJk2bksQ5Z+qAdJzQPk6QTVr6PPFkabz6CjKo4uUOVVJ Bctahbg6IPTivpPvBVhhqIlk0nyqh+T+pt1w13oY72/hHE17Iag//QvShCk1Q/xtWqIs ihtw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=uniroma2.it Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a63aa05000000b00528595a1390si4035632pgf.588.2023.05.10.04.24.19; Wed, 10 May 2023 04:24:35 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=uniroma2.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236702AbjEJLR7 (ORCPT + 99 others); Wed, 10 May 2023 07:17:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236527AbjEJLRz (ORCPT ); Wed, 10 May 2023 07:17:55 -0400 Received: from smtp.uniroma2.it (smtp.uniroma2.it [160.80.6.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15E6AC2; Wed, 10 May 2023 04:17:52 -0700 (PDT) Received: from localhost.localdomain ([160.80.103.126]) by smtp-2015.uniroma2.it (8.14.4/8.14.4/Debian-8) with ESMTP id 34ABHOil003525 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 10 May 2023 13:17:25 +0200 From: Andrea Mayer To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , David Ahern , Shuah Khan , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: Stefano Salsano , Paolo Lungaroni , Ahmed Abdelsalam , Hangbin Liu , Andrea Mayer Subject: [net 0/2] selftests: seg6: make srv6_end_dt4_l3vpn_test more robust Date: Wed, 10 May 2023 13:16:36 +0200 Message-Id: <20230510111638.12408-1-andrea.mayer@uniroma2.it> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.100.0 at smtp-2015 X-Virus-Status: Clean X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765506154788416448?= X-GMAIL-MSGID: =?utf-8?q?1765506154788416448?= This pachset aims to improve and make more robust the selftests performed to check whether SRv6 End.DT4 beahvior works as expected under different system configurations. Some Linux distributions enable Deduplication Address Detection and Reverse Path Filtering mechanisms by default which can interfere with SRv6 End.DT4 behavior and cause selftests to fail. The following patches improve selftests for End.DT4 by taking these two mechanisms into account. Specifically: - patch 1/2: selftests: seg6: disable DAD on IPv6 router cfg for srv6_end_dt4_l3vpn_test - patch 2/2: selftets: seg6: disable rp_filter by default in srv6_end_dt4_l3vpn_test Thank you all, Andrea Andrea Mayer (2): selftests: seg6: disable DAD on IPv6 router cfg for srv6_end_dt4_l3vpn_test selftets: seg6: disable rp_filter by default in srv6_end_dt4_l3vpn_test .../selftests/net/srv6_end_dt4_l3vpn_test.sh | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)