commit | 73c864b38383f4abc9b559025cd663f4a81afa89 | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Tue Sep 26 16:35:29 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 28 10:23:18 2017 -0700 |
tree | b728e14e460b2a53546bdb27e39507714b7701fa | |
parent | 2b7c6ba945fd3c10ca3e030be402098aff2f89d3 [diff] |
bpf/verifier: improve disassembly of BPF_NEG instructions BPF_NEG takes only one operand, unlike the bulk of BPF_ALU[64] which are compound-assignments. So give it its own format in print_bpf_insn(). Signed-off-by: Edward Cree <ecree@solarflare.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>