summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/cgroup.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2016-11-23 16:52:25 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-25 22:25:52 +0100
commit0e33661de493db325435d565a4a722120ae4cbf3 (patch)
treed8f41dacce4f7c1d5305ad962a6407941ef1d9d5 /kernel/bpf/cgroup.c
parentcxgb4: fix memory leak on txq_info (diff)
downloadlinux-0e33661de493db325435d565a4a722120ae4cbf3.tar.xz
linux-0e33661de493db325435d565a4a722120ae4cbf3.zip
bpf: add new prog type for cgroup socket filtering
This program type is similar to BPF_PROG_TYPE_SOCKET_FILTER, except that it does not allow BPF_LD_[ABS|IND] instructions and hooks up the bpf_skb_load_bytes() helper. Programs of this type will be attached to cgroups for network filtering and accounting. Signed-off-by: Daniel Mack <daniel@zonque.org> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/cgroup.c')
0 files changed, 0 insertions, 0 deletions