git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snap: use const for descriptor
[safe/jmp/linux-2.6]
/
include
/
net
/
x25device.h
diff --git
a/include/net/x25device.h
b/include/net/x25device.h
index
1d10c87
..
1415bcf
100644
(file)
--- a/
include/net/x25device.h
+++ b/
include/net/x25device.h
@@
-7,8
+7,8
@@
static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev)
{
static inline __be16 x25_type_trans(struct sk_buff *skb, struct net_device *dev)
{
- skb->mac.raw = skb->data;
skb->dev = dev;
skb->dev = dev;
+ skb_reset_mac_header(skb);
skb->pkt_type = PACKET_HOST;
return htons(ETH_P_X25);
skb->pkt_type = PACKET_HOST;
return htons(ETH_P_X25);