]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: add a selftest for directed broadcast forwarding
authorXin Long <lucien.xin@gmail.com>
Fri, 27 Jul 2018 08:37:29 +0000 (16:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jul 2018 19:37:06 +0000 (12:37 -0700)
commit40f98b9af943c3858958032ce1fb7bad449fac7b
tree3b1c4b58cd30b3e5aebd4f635ff64aea1e41e88e
parent5cbf777cfdf6e5a7b7149006e4881a255da78fdd
selftests: add a selftest for directed broadcast forwarding

As Ido's suggestion, this patch is to add a selftest for directed
broadcast forwarding with vrf. It does the assertion by checking
the src IP of the echo-reply packet in ping_test_from.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/router_broadcast.sh [new file with mode: 0755]