projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f1f78e
)
bpf: sparc64: Enable sparc64 jit to provide bpf_line_info
author
Martin KaFai Lau
<kafai@fb.com>
Wed, 19 Dec 2018 21:30:54 +0000
(13:30 -0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Thu, 20 Dec 2018 01:04:53 +0000
(
02:04
+0100)
This patch enables sparc64's bpf_int_jit_compile() to provide
bpf_line_info by calling bpf_prog_fill_jited_linfo().
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
arch/sparc/net/bpf_jit_comp_64.c
patch
|
blob
|
history
diff --git
a/arch/sparc/net/bpf_jit_comp_64.c
b/arch/sparc/net/bpf_jit_comp_64.c
index 5fda4f7bf15d176fbb913435ea0a25c510c8df5a..65428e79b2f37ecd8480ac18ec7400a03a5c359e 100644
(file)
--- a/
arch/sparc/net/bpf_jit_comp_64.c
+++ b/
arch/sparc/net/bpf_jit_comp_64.c
@@
-1575,6
+1575,7
@@
skip_init_ctx:
prog->jited_len = image_size;
if (!prog->is_func || extra_pass) {
+ bpf_prog_fill_jited_linfo(prog, ctx.offset);
out_off:
kfree(ctx.offset);
kfree(jit_data);