]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: router: Add test case for source IP equals destination IP
authorAmit Cohen <amitc@mellanox.com>
Sun, 5 Jan 2020 16:20:55 +0000 (18:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:38:36 +0000 (13:38 -0800)
commitc1846bb19293f5f4ad91bf2a98961b894f28a643
treeda679d319f77d311a854b0e393f3f1e652d61460
parente6aadec40dd9293e0ed207552415e9757bd4fdd6
selftests: forwarding: router: Add test case for source IP equals destination IP

Add test case to check that packets are not dropped when they need to be
routed and their source IP equals to their destination IP.

Signed-off-by: Amit Cohen <amitc@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/router.sh