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)
commit6e734f863c872a67f1b21129e762263958d17744
treeda679d319f77d311a854b0e393f3f1e652d61460
parente317b0f77eb67b2ef1663a35c2ff58e58736f71f
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