]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9df041c4a1e0f914afdf4a0575ad90af584e1d19
tree8981bf80272488490fdba0286f38c093e61dcf3a
parentfc14a45b3eaa9af8b64f806cc8fb4b2842a2ef5d
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]