diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-12-27 18:39:06 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2017-12-31 16:12:23 +0100 |
commit | ce3b9db4db0e0e2b9761c56d08615ea0159e4a1b (patch) | |
tree | 082f0709593e9d271c3dfddcfea1a4c0454654f7 /ipc | |
parent | cae1927c0b4a93ae15de824faca1f6f611a44fcd (diff) | |
download | linux-stable-ce3b9db4db0e0e2b9761c56d08615ea0159e4a1b.tar.gz linux-stable-ce3b9db4db0e0e2b9761c56d08615ea0159e4a1b.tar.bz2 linux-stable-ce3b9db4db0e0e2b9761c56d08615ea0159e4a1b.zip |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions