[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <59CADA5A.1040307@iogearbox.net>
Date: Wed, 27 Sep 2017 00:53:14 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Edward Cree <ecree@...arflare.com>, davem@...emloft.net
CC: netdev@...r.kernel.org, alexei.starovoitov@...il.com,
ys114321@...il.com
Subject: Re: [PATCH v2 net-next 1/2] bpf/verifier: improve disassembly of
BPF_END instructions
On 09/26/2017 05:35 PM, Edward Cree wrote:
> 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@...arflare.com>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists