code-gen for BPF_ALU | BPF_XOR | BPF_K is wrong when imm is -1, also high
32-bit of 64-bit register should always be cleared.

This set fixed both bugs.

Jiong Wang (2):
  nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
  nfp: bpf: fix ALU32 high bits clearance bug

 drivers/net/ethernet/netronome/nfp/bpf/jit.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

-- 
2.7.4

Reply via email to