Blob Blame History Raw
From: Stanislav Fomichev <sdf@google.com>
Date: Mon, 26 Aug 2019 15:27:12 -0700
Subject: selftests/bpf: remove wrong nhoff in flow dissector test
Patch-mainline: v5.4-rc1
Git-commit: 47ee6e86e0a3e3a15fbdd6d94aab39e46013c961
References: bsc#1177028

.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>
Acked-by: Gary Lin <glin@suse.com>
---
 tools/testing/selftests/bpf/prog_tests/flow_dissector.c |    1 -
 1 file changed, 1 deletion(-)

--- 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),