Re: [PATCH net-next 2/2] selftests: net: add test for ipv6 strict_router_selection
From: Florian Fainelli
Date: Fri Dec 04 2026 - 14:52:23 EST
On 12/3/26 20:27, netdev-bot+sashiko@xxxxxxxxxx wrote:
Thank you for your contribution! Sashiko AI review found 8 potential
issue(s) to consider.
Critical: 0 · High: 0 · Medium: 5 · Low: 3
If you believe none of the issues are legitimate, please reply to each
issue of Medium severity or higher and explain why the AI is wrong.
If any of them are legitimate and you plan to respin, please let patchwork
know by including "pw-bot: cr" as a separate line at the end of your reply
(one such reply per series is enough).
- [Medium] dut_has_lladdr() in
tools/testing/selftests/net/ipv6_strict_router_select.sh (line 115)…
- [Medium] reset_state() (lines 135/137) creates the two default routes
with `ip -6 route append default via fe80::N dev rN`.
- [Medium] The strict-mode ranking added by commit "net: ipv6: add strict
RFC 4861 6.3.6 default router selection" does not hold for ECMP…
- [Medium] pref_supported() and the positive control in
test_enabled_no_probing() infer the kernel config from runtime…
- [Medium] setup() writes net.ipv6.conf.default.router_probe_interval=1
in the same sysctl command as the required…
- [Low] The setup() comment (line 83) says router_probe_interval=1 second
is "the smallest the sysctl allows".
- [Low] ip-sysctl.rst and the RT6_STRICT_RANK_* constants (VALID 0x200 >
PROBING 0x100 > UNREACH 0) define three reachability tiers.
- [Low] test_enabled_incomplete_sticky() starts the resolver with `dut
ping -6 -c 1 -W 1 -I r2 "$GW2" &>/dev/null &` (line 364).
All five Medium points are addressed in v2. The scope link$ match, the ECMP-coalesced routes (now nexthop objects) and the hard skip on router_probe_interval were real and are fixed. CONFIG_IPV6_ROUTER_PREF is now detected from the sysctl it registers, so the preference and probing tests fail on a regression instead of skipping. The ECMP-sibling ranking limitation is now documented in the commit message and ip-sysctl.rst. The three Low points are fixed too.
pw-bot: cr
--
Florian