]> 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)
commitb3e1cde2455854eec184ff3d0b70275c0466501d
treeda679d319f77d311a854b0e393f3f1e652d61460
parent0fbf29a208a6ec40d47b253b21417834f71c17c9
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