]> 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)
commitb74055971b8470da264aa02d0e6b5a0a0ddba185
tree8981bf80272488490fdba0286f38c093e61dcf3a
parent051f87865ca158afef367efd49c56de47071a8d2
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]