]> 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)
commit8ebf193e94dc8b463f78aca3e18f2cbc688028cf
tree12a2eb99e20252675a8f325e62796ad2b19c7e1d
parentad4a1893741a7a6499b0095d4fcee7613f0b6f36
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