projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux...
[firefly-linux-kernel-4.4.55.git]
/
samples
/
bpf
/
tracex1_kern.c
diff --git
a/samples/bpf/tracex1_kern.c
b/samples/bpf/tracex1_kern.c
index 31620463701a55edc0afc54d45a5cabaef890410..3f450a8fa1f3487b2cf2d9b261f63dc3d25f6599 100644
(file)
--- a/
samples/bpf/tracex1_kern.c
+++ b/
samples/bpf/tracex1_kern.c
@@
-29,7
+29,7
@@
int bpf_prog1(struct pt_regs *ctx)
int len;
/* non-portable! works for the given kernel only */
- skb = (struct sk_buff *)
ctx->di
;
+ skb = (struct sk_buff *)
PT_REGS_PARM1(ctx)
;
dev = _(skb->dev);