Re: [PATCH net-next v4 11/12] selftests: net: add amt_v6.sh for an IPv6 outer transport

From: Omar Ramadan

Date: Mon Nov 30 2026 - 01:41:19 EST


On Mon, 30 Nov 2026 03:48:34 +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> What happens if tcpdump is still running but has not printed
> "listening on" after all 50 tries?

The loop ended and the sends went ahead, so the ff02::1 check could
pass with no capture behind it. v5 kills the capture and returns 2, the
harness-failure status, when "listening on" is still missing after the
loop, and test_mcast_discovery() accepts only 1 for the no-reply case.

> Is the "amtr is NOARP" part of this comment accurate?

No. ether_setup() runs last in amt_link_setup() and sets dev->flags to
IFF_BROADCAST | IFF_MULTICAST, so amtr goes through DAD. v5 drops the
parenthesis; $RELAY stays in the accept_dad loop.

> Can the inherited ERR trap fire inside this slowwait?

I checked on bash 5.2.21 with set -E and an ERR trap: three failing
`test -S` calls inside loopy_wait()'s `if out=$("$@")` did not run the
trap for the polled command, and nothing was printed. I have not tried
the bash versions CI uses. No change.

--
Omar