mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
This commit is contained in:
parent
7bc7d83870
commit
47ee6e86e0
1 changed files with 0 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue