File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tools/testing/selftests/bpf/prog_tests Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -378,8 +378,8 @@ struct test tests[] = {
378378 .iph_inner .ihl = 5 ,
379379 .iph_inner .protocol = IPPROTO_TCP ,
380380 .iph_inner .tot_len =
381- __bpf_constant_htons (MAGIC_BYTES ) -
382- sizeof (struct iphdr ),
381+ __bpf_constant_htons (MAGIC_BYTES -
382+ sizeof (struct iphdr )) ,
383383 .tcp .doff = 5 ,
384384 .tcp .source = 80 ,
385385 .tcp .dest = 8080 ,
@@ -407,8 +407,8 @@ struct test tests[] = {
407407 .iph_inner .ihl = 5 ,
408408 .iph_inner .protocol = IPPROTO_TCP ,
409409 .iph_inner .tot_len =
410- __bpf_constant_htons (MAGIC_BYTES ) -
411- sizeof (struct iphdr ),
410+ __bpf_constant_htons (MAGIC_BYTES -
411+ sizeof (struct iphdr )) ,
412412 .tcp .doff = 5 ,
413413 .tcp .source = 80 ,
414414 .tcp .dest = 8080 ,
@@ -436,8 +436,8 @@ struct test tests[] = {
436436 .iph_inner .ihl = 5 ,
437437 .iph_inner .protocol = IPPROTO_TCP ,
438438 .iph_inner .tot_len =
439- __bpf_constant_htons (MAGIC_BYTES ) -
440- sizeof (struct iphdr ),
439+ __bpf_constant_htons (MAGIC_BYTES -
440+ sizeof (struct iphdr )) ,
441441 .tcp .doff = 5 ,
442442 .tcp .source = 99 ,
443443 .tcp .dest = 9090 ,
You can’t perform that action at this time.
0 commit comments