bpf: call finalize() from its callback in struct bpf_offload_dev
authorQuentin Monnet <quentin.monnet@netronome.com>
Fri, 9 Nov 2018 13:03:27 +0000 (13:03 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 10 Nov 2018 23:39:53 +0000 (15:39 -0800)
commit6dc18fa6f4cad69c892d6fb9499f7e41c6a88a8e
tree9895b73aab0eaed2e1427185f23b5ef9317494a5
parent341b3e7b7b89315c43d262da3199098bcf9bbe57
bpf: call finalize() from its callback in struct bpf_offload_dev

In a way similar to the change previously brought to the verify_insn
hook, switch to the newly added ops in struct bpf_prog_offload for
calling the functions used to perform final verification steps for
offloaded programs.

Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/offload.c