]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: remove cg_skb_func_proto and use sk_filter_func_proto directly
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 10 Jun 2017 22:50:46 +0000 (00:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2017 23:05:46 +0000 (19:05 -0400)
commit1c3e425f8ba93cf8475de85d5a0c40de6836f345
tree67625e38b67da7ef4662d3d96bda323e55744ff4
parent5a453c6a4bddfcedb5e1d787f1e8517443d35e11
bpf: remove cg_skb_func_proto and use sk_filter_func_proto directly

Since cg_skb_func_proto() doesn't do anything else than just calling
into sk_filter_func_proto(), remove it and set sk_filter_func_proto()
directly for .get_func_proto callback.

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