I think the packet might not be routed to gif(4) interface. To ensure
that, could you try to apply below patch and show me the ping output
message?
====================
diff --git a/tests/net/if_gif/t_gif.sh b/tests/net/if_gif/t_gif.sh
index 6337f23..28ef7bf 100644
--- a/tests/net/if_gif/t_gif.sh
+++ b/tests/net/if_gif/t_gif.sh
@@ -467,6 +467,12 @@ test_recursive_check()
rump.ping -n -w $TIMEOUT -c 1
$ROUTER2_GIFIP_RECURSIVE2
fi
+ if [ ${mode} = "ipv6" ]; then
+ rump.ping6 -n -X $TIMEOUT -c 1 $ROUTER2_GIFIP6_RECURSIVE2
+ else
+ rump.ping -n -w $TIMEOUT -c 1 $ROUTER2_GIFIP_RECURSIVE2
+ fi
+
atf_check -o match:'gif0: recursively called too many times' \
-x "$HIJACKING dmesg"
====================