diff options
author | Cong Wang <cong.wang@bytedance.com> | 2021-03-31 04:32:30 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-04-01 19:56:14 +0200 |
commit | a7ba4558e69a3c2ae4ca521f015832ef44799538 (patch) | |
tree | de4e53cf984dcbd68b485660ae96431fa7402e22 /net/ipv4/tcp_ipv4.c | |
parent | sock_map: Kill sock_map_link_no_progs() (diff) | |
download | linux-a7ba4558e69a3c2ae4ca521f015832ef44799538.tar.xz linux-a7ba4558e69a3c2ae4ca521f015832ef44799538.zip |
sock_map: Introduce BPF_SK_SKB_VERDICT
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.
Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20210331023237.41094-10-xiyou.wangcong@gmail.com
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions