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)
commitd4052c4aea0cf455110457c0a0c299d45689ba05
treef85a881aff7ffcffc3f91ca5b330ccc514ab525f
parent0fc174dea54546e2b1146e1197da1b6d4bc48107
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