summaryrefslogtreecommitdiff
path: root/kernel/bpf/verifier.c
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2022-06-15 16:48:42 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-06-16 21:20:29 -0700
commitac80287a6af9fc3f3d189d6d1f523889a0a9e1bc (patch)
tree98cc5c780873e8dbde5005a8447c381331a76e7a /kernel/bpf/verifier.c
parent88bf18581375aa9b891e390aaf134b30d94232b3 (diff)
downloadlwn-ac80287a6af9fc3f3d189d6d1f523889a0a9e1bc.tar.gz
lwn-ac80287a6af9fc3f3d189d6d1f523889a0a9e1bc.zip
bpf: Fix documentation of th_len in bpf_tcp_{gen,check}_syncookie
bpf_tcp_gen_syncookie expects the full length of the TCP header (with all options), and bpf_tcp_check_syncookie accepts lengths bigger than sizeof(struct tcphdr). Fix the documentation that says these lengths should be exactly sizeof(struct tcphdr). While at it, fix a typo in the name of struct ipv6hdr. Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Link: https://lore.kernel.org/r/20220615134847.3753567-2-maximmi@nvidia.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/verifier.c')
0 files changed, 0 insertions, 0 deletions