diff options
| author | Edward Cree <ecree@solarflare.com> | 2017-09-26 18:35:13 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-09-28 20:23:18 +0300 |
| commit | 2b7c6ba945fd3c10ca3e030be402098aff2f89d3 (patch) | |
| tree | cd52665588f6241a51254562343647cb1faf66ec /include/linux/timerqueue.h | |
| parent | 4d8806fd14e1492cd4fb2021f709b163ea3364ad (diff) | |
| download | linux-2b7c6ba945fd3c10ca3e030be402098aff2f89d3.tar.xz | |
bpf/verifier: improve disassembly of BPF_END instructions
print_bpf_insn() was treating all BPF_ALU[64] the same, but BPF_END has a
different structure: it has a size in insn->imm (even if it's BPF_X) and
uses the BPF_SRC (X or K) to indicate which endianness to use. So it
needs different code to print it.
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>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
