]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests: forwarding: Add reverse path forwarding (RPF) test cases
authorIdo Schimmel <idosch@mellanox.com>
Thu, 28 Mar 2019 12:12:19 +0000 (12:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 00:20:52 +0000 (17:20 -0700)
commitca059af85283ba33d816b833a2654cb9a4b697de
tree12a2eb99e20252675a8f325e62796ad2b19c7e1d
parenteda3d1b0228484fb52b7244a68fd4cc8a985ed10
selftests: forwarding: Add reverse path forwarding (RPF) test cases

In case a packet is routed using a multicast route whose specified
ingress interface does not match the interface from which the packet was
received, the packet is dropped.

Add IPv4 and IPv6 test cases for above mentioned scenario.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/router_multicast.sh