selftests/net: Add icmp.sh for testing ICMP dummy address responses
authorToke Høiland-Jørgensen <toke@redhat.com>
Fri, 18 Jun 2021 11:04:36 +0000 (13:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 19:13:24 +0000 (12:13 -0700)
commit7e9838b7915e29ae0dfe4a3e5f007c9dc6ab9b45
tree8981bf80272488490fdba0286f38c093e61dcf3a
parent321827477360934dc040e9d3c626bf1de6c3ab3c
selftests/net: Add icmp.sh for testing ICMP dummy address responses

This adds a new icmp.sh selftest for testing that the kernel will respond
correctly with an ICMP unreachable message with the dummy (192.0.0.8)
source address when there are no IPv4 addresses configured to use as source
addresses.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/icmp.sh [new file with mode: 0755]