summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-11-21 00:21:56 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2017-11-21 00:37:35 +0100
commit479321e9c31a6c05426790b11888427400f75ac8 (patch)
treeec55a10f0f7e571e59ead13c820ddc4bae46d67c /mm
parentnet: xdp: don't allow device-bound programs in driver mode (diff)
downloadlinux-479321e9c31a6c05426790b11888427400f75ac8.tar.xz
linux-479321e9c31a6c05426790b11888427400f75ac8.zip
bpf: turn bpf_prog_get_type() into a wrapper
bpf_prog_get_type() is identical to bpf_prog_get_type_dev(), with false passed as attach_drv. Instead of keeping it as an exported symbol turn it into static inline wrapper. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions