diff options
author | 2019-08-26 15:27:12 -0700 | |
---|---|---|
committer | 2019-08-28 00:39:43 +0200 | |
commit | 47ee6e86e0a3e3a15fbdd6d94aab39e46013c961 (patch) | |
tree | 692e72d727d99b88fd9c0eb47096ce716f59f11c | |
parent | Merge branch 'bpf-misc-test-fixes' (diff) | |
download | linux-47ee6e86e0a3e3a15fbdd6d94aab39e46013c961.tar.gz linux-47ee6e86e0a3e3a15fbdd6d94aab39e46013c961.tar.bz2 linux-47ee6e86e0a3e3a15fbdd6d94aab39e46013c961.zip |
selftests/bpf: remove wrong nhoff in flow dissector test
.nhoff = 0 is (correctly) reset to ETH_HLEN on the next line so let's
drop it.
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-rw-r--r-- | tools/testing/selftests/bpf/prog_tests/flow_dissector.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/flow_dissector.c b/tools/testing/selftests/bpf/prog_tests/flow_dissector.c index aee0cda7870b..92563898867c 100644 --- a/tools/testing/selftests/bpf/prog_tests/flow_dissector.c +++ b/tools/testing/selftests/bpf/prog_tests/flow_dissector.c @@ -344,7 +344,6 @@ struct test tests[] = { .tcp.dest = 8080, }, .keys = { - .nhoff = 0, .nhoff = ETH_HLEN, .thoff = ETH_HLEN + sizeof(struct iphdr) + sizeof(struct iphdr), |