]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bpf: get rid of cgroup helper related ifdefs
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 17 Aug 2016 23:00:41 +0000 (01:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 06:38:16 +0000 (23:38 -0700)
commit54fd9c2dff144ed287ab3b8189dcdcd4d298d0cc
tree5ff90a364ae9d419f703df771fa242aeaacc4038
parent4de16969523c15fb53cf8945dfc6b495d01d1512
bpf: get rid of cgroup helper related ifdefs

As recently discussed during the task_under_cgroup_hierarchy() addition,
we should get rid of the ifdefs surrounding the bpf_skb_under_cgroup()
helper. If related functionality is not built-in, the helper cannot be
used anyway, which is also in line with what we do for all other helpers.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/filter.c