commit | adb701d6cfa432f5dbdf28839b5e64291a7ed30b | [log] [tgz] |
---|---|---|
author | Cong Wang <xiyou.wangcong@gmail.com> | Wed Jul 17 14:41:59 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 17 15:23:39 2019 -0700 |
tree | 7896881e9e843ea31c31c9331af79de74d9b1ce7 | |
parent | 66f8209547cc11d8e139d45cb7c937c1bbcce182 [diff] |
selftests: add a test case for rp_filter Add a test case to simulate the loopback packet case fixed in the previous patch. This test gets passed after the fix: IPv4 rp_filter tests TEST: rp_filter passes local packets [ OK ] TEST: rp_filter passes loopback packets [ OK ] Cc: David Ahern <dsahern@gmail.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>