projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bpf, x86: Adjust arch_prepare_bpf_trampoline return value
[linux-2.6-microblaze.git]
/
arch
/
x86
/
net
/
bpf_jit_comp.c
diff --git
a/arch/x86/net/bpf_jit_comp.c
b/arch/x86/net/bpf_jit_comp.c
index
8c10d9a
..
5f7528c
100644
(file)
--- a/
arch/x86/net/bpf_jit_comp.c
+++ b/
arch/x86/net/bpf_jit_comp.c
@@
-2671,7
+2671,7
@@
int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *image, void *i
ret = -EFAULT;
goto cleanup;
}
- ret = prog - (u8 *)image;
+ ret = prog - (u8 *)image
+ BPF_INSN_SAFETY
;
cleanup:
kfree(branches);