commit | c0df236e1394970f3503a8fb103de95d000014ca | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Thu Sep 24 17:04:09 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Sep 25 13:58:01 2020 -0700 |
tree | 933a3d58ddfbc0164ec4552222c3e0d819c20110 | |
parent | 592a3498648af000e93dff2d36229ab11cd8c7f6 [diff] |
bpf: Change bpf_tcp_*_syncookie to accept ARG_PTR_TO_BTF_ID_SOCK_COMMON This patch changes the bpf_tcp_*_syncookie() to take ARG_PTR_TO_BTF_ID_SOCK_COMMON such that they will work with the pointer returned by the bpf_skc_to_*() helpers also. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Lorenz Bauer <lmb@cloudflare.com> Link: https://lore.kernel.org/bpf/20200925000409.3856725-1-kafai@fb.com