RE: [Patch bpf-next v8 09/16] sock_map: introduce BPF_SK_SKB_VERDICT
From: John Fastabend <john.fastabend@gmail.com>
Date: 2021-04-01 05:53:34
Also in:
netdev
From: John Fastabend <john.fastabend@gmail.com>
Date: 2021-04-01 05:53:34
Also in:
netdev
Cong Wang wrote:
From: Cong Wang <redacted> 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 stream_verdict and skb_verdict programs to the same map. Cc: John Fastabend <john.fastabend@gmail.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Jakub Sitnicki <jakub@cloudflare.com> Cc: Lorenz Bauer <redacted> Signed-off-by: Cong Wang <redacted> ---
Looks good. Acked-by: John Fastabend <john.fastabend@gmail.com>