]> 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)
commitfeabdbd7e5c80bb96116f8f2b0ed86ac391cbb3b
treef85a881aff7ffcffc3f91ca5b330ccc514ab525f
parent9ff081674cccdbc7cf8c55b7028b57c2c6f34427
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