RE: [Patch bpf-next v8 09/16] sock_map: introduce BPF_SK_SKB_VERDICT

2021-03-31 Thread John Fastabend
Cong Wang wrote: > From: Cong Wang > > Reusing BPF_SK_SKB_STREAM_VERDICT is possible but its name is > confusing and more importantly we still want to distinguish them > from user-space. So we can just reuse the stream verdict code but > introduce a new type of eBPF program, skb_verdict. Users ar

[Patch bpf-next v8 09/16] sock_map: introduce BPF_SK_SKB_VERDICT

2021-03-30 Thread Cong Wang
From: Cong Wang Reusing BPF_SK_SKB_STREAM_VERDICT is possible but its name is confusing and more importantly we still want to distinguish them from user-space. So we can just reuse the stream verdict code but introduce a new type of eBPF program, skb_verdict. Users are not allowed to attach strea