From: Stanislav Fomichev Date: Mon, 26 Aug 2019 22:27:12 +0000 (-0700) Subject: selftests/bpf: remove wrong nhoff in flow dissector test X-Git-Tag: for-linus-2019-09-27~91^2~62^2~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=47ee6e86e0a3e3a15fbdd6d94aab39e46013c961;p=linux-2.6-block.git 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 Acked-by: Song Liu Signed-off-by: Daniel Borkmann --- 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),