git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce skb_reset_mac_header(skb)
[sfrench/cifs-2.6.git]
/
net
/
802
/
hippi.c
diff --git
a/net/802/hippi.c
b/net/802/hippi.c
index 138302c14ee605c84cca9fa3760c0826b91d1f42..d87190038edb37d7a76ea4ec2def1e49ca8936e9 100644
(file)
--- a/
net/802/hippi.c
+++ b/
net/802/hippi.c
@@
-131,7
+131,7
@@
__be16 hippi_type_trans(struct sk_buff *skb, struct net_device *dev)
* set the raw address here.
*/
skb->dev = dev;
- skb
->mac.raw = skb->data
;
+ skb
_reset_mac_header(skb)
;
hip = (struct hippi_hdr *)skb->mac.raw;
skb_pull(skb, HIPPI_HLEN);