On 02/18/2019 09:38 PM, brakmo wrote: > This patch adds a new bpf helper BPF_FUNC_tcp_enter_cwr > "int bpf_tcp_enter_cwr(struct bpf_tcp_sock *tp)". > It is added to BPF_PROG_TYPE_CGROUP_SKB typed bpf_prog > which currently can be attached to the ingress and egress > path. > Do we have the guarantee socket is a tcp one, and that the caller owns the socket lock ? Please describe the exact context for this helper being used.
- [PATCH bpf-next 1/9] bpf: Add bpf helper bpf_tcp_enter_cwr brakmo
- Re: [PATCH bpf-next 1/9] bpf: Add bpf helper bpf_tcp_... Daniel Borkmann
- Re: [PATCH bpf-next 1/9] bpf: Add bpf helper bpf_... Lawrence Brakmo
- Re: [PATCH bpf-next 1/9] bpf: Add bpf helper bpf_tcp_... Eric Dumazet
- Re: [PATCH bpf-next 1/9] bpf: Add bpf helper bpf_... Lawrence Brakmo