From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.99 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796077650; b=eLzoJUpTIznbyKZvNAOlDvt45Z0a9yuJaSJ1ED6sSNGVU76HHHuTKsing0Pgsca3exOo /vGL9WuECyvJLSr5X/OqaUcBQWujz9xHtaERu2glmChtf8/84YYUK681d/QpBFxXizfR2 SmZBqi4iV46EAPn9IjLMCSdL0hRJgbKrgfdu9N8T3x6V2iJ0DzC2xXXUJMGA7KxPM056g pgLlOIohrz6RU0LmohKjIQBweWjlHvGIYNo7eSJw7QzVjbuWJ+6H7oWuIKJql4Vu8X8uQ DG/skGgpYsaT8p/8hM0EDI7ySol1/e0RFer4Og5/iOb3ww6I/lV6G5HMvjishVbiZ2A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796077650; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Gm-Message-State: X-Gm-Gg:X-Received:Received:X-Relaying-Domain:X-CFilter-Loop:Received: DKIM-Signature:X-Received:X-Received:Received:From:To:Cc:Subject:Date: Message-Id:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-DetectorID-Processed; bh=uf3U+fKjbVbQwP4SHG4cQYMWHu1hqct47ouC1875pXM=; b=3Kpr1XfLllaxMoN4ln0sIX5Yb2vArNC5MrIhHhTN0Wfte6zwFjSxyO2UHKJbpyGwLwFs n4GFdZDhywprqnuzdc4UgWBwxqhAE0sX3rHkmGAKwQ+kURb38UYFqI5BCglow0C2Wve3L 0JGqHnesRM1w/o1Dbs8eOXNuX83Obzg8pazXD3C1X2H84CrCSdJA+nPTr+iegmLYGoUh8 BECn49o3weXk8cySKv7pX0mTxzmVYRQYgXr0+PuPblmoA7s1zRI2zEtswR2uZfPu6q48N uoFrwQkNCo6xk52E+Cg9yeCfIZPUr/pBS1s+lgw03k8EQj/iej83q12yBK6ZfBb6hxg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=EcUZzxjQ; arc=none smtp.remote-ip=209.85.222.99 Received: from mail-ua1-f99.google.com (mail-ua1-f99.google.com [209.85.222.99]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5884C606A327 for ; Mon, 30 Nov 2026 22:27:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5884C606A327 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=EcUZzxjQ Received: by mail-ua1-f99.google.com with SMTP id a1e0cc1a2514c-99e145569c6so2541891241.2 for ; Mon, 30 Nov 2026 14:27:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796077649; x=1796682449; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=uf3U+fKjbVbQwP4SHG4cQYMWHu1hqct47ouC1875pXM=; b=YiRORipVDQnpF/ksTERAx0dwEQtANYcL9RMgsdTtzv+v5jrlRdco5CS/d3KYC+6A3R 9JF9wF3YN6ePaaONHGMzRmaCNwCRMznY8kfMDu6Igm94cqY3w4MEpJScxMphJTss2Uih K9XPLuAyJv5rrDupGGfbiWvhQbN6dgNkhvV14/iE4VO7Qh69D4q2SmBgXzWQqmv8OdGg /RqmNkky7Pr6a7vEWG6FohXhEmv24XZBnoCObYn8/vwYWpeZ8WUZTLi4F52pCVjh1GHg f8i51iZHlUquRr9GeV3lOwReuDxkk09ijYITuwxsck2LCWUi4AakYOvjK5QHG1PRtJOO kTcg== X-Gm-Message-State: APuU4Z8396ug5yRWwlT6bOlJufxKhn6q+U17lhhGj+0+AxQW3ShoaGX8 Fuh2xj/3sXucQ19SNvaaHefEZZATB7aDQ0cKVfQvoaGqcQ+6bGAKSt8yI8BSIyNfg4z3Pcdxvw8 T+fMi2aukFVaFqJa7HuFHeo+ysmHzfG3nIy9KFI2W2QM2ezyq6meOUuJ0FR2+f6x6CqOpJEk70D miTScdR/cf5oWRyd+828EHBzsjKvv48DXmjwPDPz9E1VCS014zqwRS0iT1xXkADfi9cBUEpUcs3 U1dyX6V809yD6Gw X-Gm-Gg: AZFdTZdvNUnb5yDDZv21lLOOjOTinhQHjMNo0FoL6w94nMjQnbUbubHw0yjiCxrokYD BPJ/ZmN0QhDhoR3dZMld26318MQ0W+fvwpUQQt1+5o0N5NMBUyBwFPzYhFn2LABSnRdHCQT2Zuo +C3LDC2tiw4gL9Eela2KA1BzmizfGjZtNe2PNuF5bJhTTCAB6lHwg5bG3A3v9IMvhKLrVcrUdn/ PcvKw5KiqIyDmCEwMULMUEOSiuf10wJ71mPDZ4cx82wOHhudh9ahImRZNF18uFROAz22o/f1Tj0 IBbjY4x6CwxgYTiKGL+7+V5s/RdRovIiK4MiKwI0uG3IE+QKG7aoJaiZTBW49KLj4pcqDxL1HWG 7WPx/kYY9jm5la6pRi0E04zUbMbDoWqnrX09rjDzKq3iLjnfy1sKnlPeie2H9dX73d5PGd3ViGp k3vwzmV9homskZWBvbBOXgim1zRzeEWnr7/0dStau2 X-Received: by 2002:a05:6102:5cc4:b0:7d0:5688:f511 with SMTP id ada2fe7eead31-7d7393fdfc1mr22318464137.16.1796077649000; Mon, 30 Nov 2026 14:27:29 -0800 (PST) Received: from smtp-us-east1-p01-i01-si01.dlp.protect.broadcom.com (address-144-49-247-28.dlp.protect.broadcom.com. [144.49.247.28]) by smtp-relay.gmail.com with ESMTPS id a1e0cc1a2514c-99e6e1b3904sm2735871241.19.2026.11.30.14.27.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Nov 2026 14:27:28 -0800 (PST) X-Relaying-Domain: broadcom.com X-CFilter-Loop: Reflected Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-92126ecb4b8so19325166d6.3 for ; Mon, 30 Nov 2026 14:27:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1796077648; x=1796682448; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=uf3U+fKjbVbQwP4SHG4cQYMWHu1hqct47ouC1875pXM=; b=EcUZzxjQXFuGTSSUqZZN67HKvRC8M2DvazH4wVoqmbYgjqLGEMd/c3E2PzBtorGQzx Iue3cRhTqV8WGX3upR6cClwceQfoXB1Y903uiIvSiQDYOTLQKD2iY827sL1p38IGKDR8 +iDAcMVVmaGYOl2UQcixh03jLxITMS5Cptr8w= X-Received: by 2002:a05:620a:701c:b0:949:a254:706a with SMTP id af79cd13be357-949ba96eae0mr6099518085a.14.1796077648246; Mon, 30 Nov 2026 14:27:28 -0800 (PST) X-Received: by 2002:a05:620a:701c:b0:949:a254:706a with SMTP id af79cd13be357-949ba96eae0mr6099510985a.14.1796077647633; Mon, 30 Nov 2026 14:27:27 -0800 (PST) Received: from stbirv-lnx-1.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-9213514d20esm308051906d6.23.2026.11.30.14.27.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 14:27:27 -0800 (PST) From: Florian Fainelli To: netdev@vger.kernel.org Cc: Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Hideaki YOSHIFUJI , David Ahern , Shuah Khan , Kuniyuki Iwashima , Jiayuan Chen , Angus Peng , Maoyi Xie , linux-kernel@vger.kernel.org (open list), linux-kselftest@vger.kernel.org (open list:KERNEL SELFTEST FRAMEWORK), bcm-kernel-feedback-list@broadcom.com Subject: [PATCH net-next 0/2] net: ipv6: add strict RFC 4861 6.3.6 default router selection Date: Mon, 30 Nov 2026 14:26:29 -0800 Message-Id: <20261130222631.1786545-1-florian.fainelli@broadcom.com> X-Mailer: git-send-email 2.34.1 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-DetectorID-Processed: b00c1d49-9d2e-4205-b15f-d015386d3d5e This patch series adds support for strict RFC 4861 section 6.3.6 default router selection along with a self test to exercise the newly added sysctl knob. Angus Peng (1): net: ipv6: add strict RFC 4861 6.3.6 default router selection Florian Fainelli (1): selftests: net: add test for ipv6 strict_router_selection Documentation/networking/ip-sysctl.rst | 29 + include/net/netns/ipv6.h | 1 + net/ipv6/route.c | 101 +++- tools/testing/selftests/net/Makefile | 1 + .../net/ipv6_strict_router_select.sh | 507 ++++++++++++++++++ 5 files changed, 637 insertions(+), 2 deletions(-) create mode 100755 tools/testing/selftests/net/ipv6_strict_router_select.sh -- 2.34.1