selftests: icmp_redirect: remove from checking for IPv6 route get
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 7 Jul 2021 08:15:29 +0000 (16:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jul 2021 20:45:30 +0000 (13:45 -0700)
commit24b671aad4eae423e1abf5b7f08d9a5235458b8d
tree901115356c692cc2a0cdc6fbfabb9065ddf52af3
parenteca81f09145d765c21dd8fb1ba5d874ca255c32c
selftests: icmp_redirect: remove from checking for IPv6 route get

If the kernel doesn't enable option CONFIG_IPV6_SUBTREES, the RTA_SRC
info will not be exported to userspace in rt6_fill_node(). And ip cmd will
not print "from ::" to the route output. So remove this check.

Fixes: ec8105352869 ("selftests: Add redirect tests")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/icmp_redirect.sh