Hello: This patch was applied to bpf/bpf.git (master) by Alexei Starovoitov <a…@kernel.org>: On Tue, 1 Dec 2026 10:17:53 +0100 you wrote:
> Each call to bpf_tcp_gen_syncookie(), bpf_tcp_raw_gen_syncookie_ipv4() > or bpf_tcp_raw_gen_syncookie_ipv6() reads th->doff twice. The helper > first checks that th->doff matches th_len, the header length that the > verifier allowed. tcp_parse_mss_option(), called directly or through > tcp_get_syncookie_mss(), then reads th->doff again to find the end of > the options. > > [...]
Here is the summary with links: - [bpf] bpf: Use the checked TCP header length in the syncookie helpers https://git.kernel.org/bpf/bpf/c/a4a304f126da You are awesome, thank you!