summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
diff options
context:
space:
mode:
authorLu Hongfei <luhongfei@vivo.com>2023-07-07 16:12:50 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2023-07-07 19:36:04 +0200
commit856fe03d929205b4c8c8fa51296342cd85592e3f (patch)
treebf672495d46b6428f27ebc04a4f20127391c6f4c /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
parent56baeeba0a355ecf4d0c71bfbb1d5ba09501dbfc (diff)
downloadlinux-856fe03d929205b4c8c8fa51296342cd85592e3f.tar.gz
linux-856fe03d929205b4c8c8fa51296342cd85592e3f.tar.bz2
linux-856fe03d929205b4c8c8fa51296342cd85592e3f.zip
selftests/bpf: Correct two typos
When wrapping code, use ';' better than using ',' which is more in line with the coding habits of most engineers. Signed-off-by: Lu Hongfei <luhongfei@vivo.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Hou Tao <houtao1@huawei.com> Acked-by: Stanislav Fomichev <sdf@google.com> Link: https://lore.kernel.org/bpf/20230707081253.34638-1-luhongfei@vivo.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
-rw-r--r--tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c b/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
index 13bcaeb028b8..56685fc03c7e 100644
--- a/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
+++ b/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
@@ -347,7 +347,7 @@ static void syncookie_estab(void)
exp_active_estab_in.max_delack_ms = 22;
exp_passive_hdr_stg.syncookie = true;
- exp_active_hdr_stg.resend_syn = true,
+ exp_active_hdr_stg.resend_syn = true;
prepare_out();