]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit966789fb8636a35c3263076fea382263c5e56802
tree67625e38b67da7ef4662d3d96bda323e55744ff4
parentf735b64926da36aadc0737d29dde587ac1e2e2c2
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