]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu: detect correct binary to ping ipv6 addresses
authorSabrina Dubroca <sd@queasysnail.net>
Thu, 30 Aug 2018 14:01:18 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Sep 2018 06:14:20 +0000 (23:14 -0700)
commite7b7ad91721cfa0dd562fd2f569d205b6ef851a7
tree7e60253fdb5ba6257d1d3d4a0c419db38c11a2d0
parentdf230feaca0c2846ef0d2d3f75a5ff8877d9d4cf
selftests: pmtu: detect correct binary to ping ipv6 addresses

Some systems don't have the ping6 binary anymore, and use ping for
everything. Detect the absence of ping6 and try to use ping instead.

Fixes: 55c6e7bb3b58 ("selftests: net: Introduce first PMTU test")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh