diff options
author | 2017-09-26 16:35:13 +0100 | |
---|---|---|
committer | 2017-09-28 10:23:18 -0700 | |
commit | 2b7c6ba945fd3c10ca3e030be402098aff2f89d3 (patch) | |
tree | cd52665588f6241a51254562343647cb1faf66ec /net/ipv4/tcp_fastopen.c | |
parent | cxgb4: make function ch_flower_stats_cb, fixes warning (diff) | |
download | wireguard-linux-2b7c6ba945fd3c10ca3e030be402098aff2f89d3.tar.xz wireguard-linux-2b7c6ba945fd3c10ca3e030be402098aff2f89d3.zip |
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 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions