]> git.baikalelectronics.ru Git - kernel.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)
commit634ea43d63341d3147aa50c4c3d0988ac8f5f046
tree12a2eb99e20252675a8f325e62796ad2b19c7e1d
parent6d4ae550806803afcd4f06c781d51112eaece0c9
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