projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bpf: introduce bpf_skb_vlan_push/pop() helpers
[deliverable/linux.git]
/
arch
/
s390
/
net
/
bpf_jit_comp.c
diff --git
a/arch/s390/net/bpf_jit_comp.c
b/arch/s390/net/bpf_jit_comp.c
index fee782acc2ee51f6a3aae4b28152ec76981c8350..79c731e8d17805618e7cf8140ec49f2ccad8a55e 100644
(file)
--- a/
arch/s390/net/bpf_jit_comp.c
+++ b/
arch/s390/net/bpf_jit_comp.c
@@
-973,6
+973,10
@@
static noinline int bpf_jit_insn(struct bpf_jit *jit, struct bpf_prog *fp, int i
*/
const u64 func = (u64)__bpf_call_base + imm;
+ if (bpf_helper_changes_skb_data((void *)func))
+ /* TODO reload skb->data, hlen */
+ return -1;
+
REG_SET_SEEN(BPF_REG_5);
jit->seen |= SEEN_FUNC;
/* lg %w1,<d(imm)>(%l) */
This page took
0.02741 seconds
and
5
git commands to generate.