Searched hist:ce3b9db4db0e0e2b9761c56d08615ea0159e4a1b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | offload.c | diff ce3b9db4db0e0e2b9761c56d08615ea0159e4a1b Wed Dec 27 20:39:06 CST 2017 Jakub Kicinski <jakub.kicinski@netronome.com> bpf: offload: free prog->aux->offload when device disappears
All bpf offload operations should now be under bpf_devs_lock, it's safe to free and clear the entire offload structure, not only the netdev pointer.
__bpf_prog_offload_destroy() will no longer be called multiple times.
Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|