diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2019-07-17 23:41:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-18 00:23:39 +0200 |
commit | adb701d6cfa432f5dbdf28839b5e64291a7ed30b (patch) | |
tree | 7896881e9e843ea31c31c9331af79de74d9b1ce7 /net | |
parent | fib: relax source validation check for loopback packets (diff) | |
download | linux-adb701d6cfa432f5dbdf28839b5e64291a7ed30b.tar.xz linux-adb701d6cfa432f5dbdf28839b5e64291a7ed30b.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions