]> git.baikalelectronics.ru Git - kernel.git/commit
ebpf: remove CONFIG_BPF_SYSCALL ifdefs in socket filter code
authorDaniel Borkmann <daniel@iogearbox.net>
Sun, 1 Mar 2015 11:31:45 +0000 (12:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Mar 2015 19:05:19 +0000 (14:05 -0500)
commit57b17879599bed9296a9cec9c44e023d4b9ee344
treef85a881aff7ffcffc3f91ca5b330ccc514ab525f
parentaee330eff33bf68972ff71d31a396ee4658a92b8
ebpf: remove CONFIG_BPF_SYSCALL ifdefs in socket filter code

This gets rid of CONFIG_BPF_SYSCALL ifdefs in the socket filter code,
now that the BPF internal header can deal with it.

While going over it, I also changed eBPF related functions to a sk_filter
prefix to be more consistent with the rest of the file.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c