projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
be2net: NCSI FW section should be properly updated with ethtool for BE3
[cascardo/linux.git]
/
lib
/
test_bpf.c
diff --git
a/lib/test_bpf.c
b/lib/test_bpf.c
index
93f4501
..
94346b4
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;