diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-12-28 03:39:04 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2017-12-31 16:12:22 +0100 |
commit | 9a18eedb145d080d542766af1d7513ebfccd1604 (patch) | |
tree | 088372c4392d04fc95231543f338c8a1cc73cb9b /lib/locking-selftest-rlock-hardirq.h | |
parent | bpf: offload: don't require rtnl for dev list manipulation (diff) | |
download | linux-9a18eedb145d080d542766af1d7513ebfccd1604.tar.xz linux-9a18eedb145d080d542766af1d7513ebfccd1604.zip |
bpf: offload: don't use prog->aux->offload as boolean
We currently use aux->offload to indicate that program is bound
to a specific device. This forces us to keep the offload structure
around even after the device is gone. Add a bool member to
struct bpf_prog_aux to indicate if offload was requested.
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 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions