projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: replace access_remote_vm() write parameter with gup_flags
[linux-2.6-block.git]
/
lib
/
test_bpf.c
diff --git
a/lib/test_bpf.c
b/lib/test_bpf.c
index 93f45011a59d01ef017aa2a1a4a68ee6f4060bce..94346b4d8984c5cfa88743be66b1880b929e4a60 100644
(file)
--- a/
lib/test_bpf.c
+++ b/
lib/test_bpf.c
@@
-5485,6
+5485,7
@@
static struct sk_buff *populate_skb(char *buf, int size)
skb->hash = SKB_HASH;
skb->queue_mapping = SKB_QUEUE_MAP;
skb->vlan_tci = SKB_VLAN_TCI;
+ skb->vlan_proto = htons(ETH_P_IP);
skb->dev = &dev;
skb->dev->ifindex = SKB_DEV_IFINDEX;
skb->dev->type = SKB_DEV_TYPE;