diff options
| author | Maxim Mikityanskiy <[email protected]> | 2022-06-15 13:48:42 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-06-17 04:20:29 +0000 |
| commit | ac80287a6af9fc3f3d189d6d1f523889a0a9e1bc (patch) | |
| tree | 98cc5c780873e8dbde5005a8447c381331a76e7a /scripts/bpf_doc.py | |
| parent | Merge branch 'sleepable uprobe support' (diff) | |
| download | kernel-ac80287a6af9fc3f3d189d6d1f523889a0a9e1bc.tar.gz kernel-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 <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
