Re: [PATCH net-next v2 12/12] selftests: net: add amt_gw_v6.sh for the IPv6 netlink attributes

From: Omar Ramadan

Date: Fri Nov 27 2026 - 04:45:08 EST


On Thu, 26 Nov 2026 19:17:05 +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> Can the first case arm in probe_v6_gateway() ever match?

No. v3 matches "binary attribute size out of range" there, which is
what the exact-length policy reports, and the message quotes it. The
Low finding is fixed in the same place: the probe checks `ip link help`
for amt, and "Unknown device type" and "Operation not supported" skip.

> Can this FAIL branch be reached through anything other than a
> userspace limitation?

No. If the probe link exists the attributes were four bytes long, so a
readback that is not an IPv6 address is an iproute2 that truncated the
literal or prints the address under another key, and the kernel did
what it should. v3 skips, with the readback in the message, and the
branch that failed is gone.

--
Omar