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
IB/cm: Add basic performance counters
[firefly-linux-kernel-4.4.55.git]
/
include
/
net
/
x25device.h
diff --git
a/include/net/x25device.h
b/include/net/x25device.h
index 1a318374faefc42e853ab4692b9aeb046aebda46..1415bcf93980f9c06aca48ee41de41065d72cedb 100644
(file)
--- a/
include/net/x25device.h
+++ b/
include/net/x25device.h
@@
-7,7
+7,8
@@
static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev)
{
- skb->mac.raw = skb->data;
+ skb->dev = dev;
+ skb_reset_mac_header(skb);
skb->pkt_type = PACKET_HOST;
return htons(ETH_P_X25);