aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/netns/bpf.h
diff options
context:
space:
mode:
authorJakub Sitnicki <jakub@cloudflare.com>2020-06-25 16:13:54 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-06-30 10:45:07 -0700
commit3b7016996c4c44db5d499d98759b82fb714bb912 (patch)
treec2b829b6dbc79ae9646900dbf55e8ea68d847ca8 /include/net/netns/bpf.h
parentbpf: Enforce BPF ringbuf size to be the power of 2 (diff)
downloadwireguard-linux-3b7016996c4c44db5d499d98759b82fb714bb912.tar.xz
wireguard-linux-3b7016996c4c44db5d499d98759b82fb714bb912.zip
flow_dissector: Pull BPF program assignment up to bpf-netns
Prepare for using bpf_prog_array to store attached programs by moving out code that updates the attached program out of flow dissector. Managing bpf_prog_array is more involved than updating a single bpf_prog pointer. This will let us do it all from one place, bpf/net_namespace.c, in the subsequent patch. No functional change intended. Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20200625141357.910330-2-jakub@cloudflare.com
Diffstat (limited to 'include/net/netns/bpf.h')
0 files changed, 0 insertions, 0 deletions