OSDN Git Service

bpf: Add jited_len to struct bpf_prog
authorMartin KaFai Lau <kafai@fb.com>
Mon, 5 Jun 2017 19:15:51 +0000 (12:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 19:41:24 +0000 (15:41 -0400)
commit783d28dd11f68fb25d1f2e0de7c42336394ef128
treeccbd420f78dba2d72eb9a697e9b251b8bdd80ebd
parentbd5f5f4ecb78e2698dad655645b6d6a2f7012a8c
bpf: Add jited_len to struct bpf_prog

Add jited_len to struct bpf_prog.  It will be
useful for the struct bpf_prog_info which will
be added in the later patch.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/net/bpf_jit_comp.c
arch/powerpc/net/bpf_jit_comp64.c
arch/s390/net/bpf_jit_comp.c
arch/sparc/net/bpf_jit_comp_64.c
arch/x86/net/bpf_jit_comp.c
include/linux/filter.h