summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/disasm.h
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-01-17 00:51:45 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-17 01:15:05 +0100
commit0a2d28ff516c48a21c1e3be1ff7fba3e94248baa (patch)
tree65ee7b65a852fcc14ed31d3b11bf88abc17ef296 /kernel/bpf/disasm.h
parentsamples/bpf: Fix trailing semicolon (diff)
downloadlinux-0a2d28ff516c48a21c1e3be1ff7fba3e94248baa.tar.xz
linux-0a2d28ff516c48a21c1e3be1ff7fba3e94248baa.zip
bpf: offload: make bpf_offload_dev_match() reject host+host case
Daniel suggests it would be more logical for bpf_offload_dev_match() to return false is either the program or the map are not offloaded, rather than treating the both not offloaded case as a "matching CPU/host device". This makes no functional difference today, since verifier only calls bpf_offload_dev_match() when one of the objects is offloaded. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/disasm.h')
0 files changed, 0 insertions, 0 deletions