selftests: forwarding: router: Add test case for destination IP link-local
authorAmit Cohen <amitc@mellanox.com>
Sun, 5 Jan 2020 16:20:57 +0000 (18:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:38:37 +0000 (13:38 -0800)
commitef11ffa21b75c97780f345615e46e5e985406513
tree0194f393c28d6431a21f93410b01ae2e79aa4bf2
parentca360db4b82537d0cbc7a54018b2096c757c4828
selftests: forwarding: router: Add test case for destination IP link-local

Add test case to check that packets are not dropped when they need to be
routed and their destination is link-local, i.e., 169.254.0.0/16.

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