diff options
author | Jiri Benc <jbenc@redhat.com> | 2019-10-08 15:10:44 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-08 23:59:22 +0200 |
commit | fd418b01fe26c2430b1091675cceb3ab2b52e1e0 (patch) | |
tree | b97930c8fe3b2569adf03d7b67751d28c18a0933 /tools/laptop | |
parent | 98beb3edeb974e906a81f305d88f7bc96b2ec83e (diff) | |
download | linux-fd418b01fe26c2430b1091675cceb3ab2b52e1e0.tar.gz linux-fd418b01fe26c2430b1091675cceb3ab2b52e1e0.tar.bz2 linux-fd418b01fe26c2430b1091675cceb3ab2b52e1e0.zip |
selftests/bpf: Set rp_filter in test_flow_dissector
Many distributions enable rp_filter. However, the flow dissector test
generates packets that have 1.1.1.1 set as (inner) source address without
this address being reachable. This causes the selftest to fail.
The selftests should not assume a particular initial configuration. Switch
off rp_filter.
Fixes: 50b3ed57dee9 ("selftests/bpf: test bpf flow dissection")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Petar Penkov <ppenkov@google.com>
Link: https://lore.kernel.org/bpf/513a298f53e99561d2f70b2e60e2858ea6cda754.1570539863.git.jbenc@redhat.com
Diffstat (limited to 'tools/laptop')
0 files changed, 0 insertions, 0 deletions