]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfp: bpf: don't do ld/mask combination if mask is jump destination
authorJiong Wang <jiong.wang@netronome.com>
Fri, 1 Dec 2017 05:32:52 +0000 (21:32 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 1 Dec 2017 19:59:20 +0000 (20:59 +0100)
commit1266f5d6559e30e9afdebfff60d60ab86a8da77b
tree44e6a3f3fa4ae97c649c500916b216dfff2aa6b0
parenta09d5c52c42129adbac2d1e39bd0e49a92729e3e
nfp: bpf: don't do ld/mask combination if mask is jump destination

If the mask insn in the ld/mask pair is jump destination, then don't do
combination.

Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
drivers/net/ethernet/netronome/nfp/bpf/jit.c