projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b679ef7
)
net: 6lowpan: fixup for code movement
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Tue, 7 Jan 2014 01:52:43 +0000
(12:52 +1100)
committer
David S. Miller
<davem@davemloft.net>
Tue, 28 Jan 2014 00:43:03 +0000
(16:43 -0800)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan_iphc.c
patch
|
blob
|
history
diff --git
a/net/ieee802154/6lowpan_iphc.c
b/net/ieee802154/6lowpan_iphc.c
index
083f905
..
860aa2d
100644
(file)
--- a/
net/ieee802154/6lowpan_iphc.c
+++ b/
net/ieee802154/6lowpan_iphc.c
@@
-678,7
+678,7
@@
int lowpan_header_compress(struct sk_buff *skb, struct net_device *dev,
hc06_ptr += 3;
} else {
/* compress nothing */
- memcpy(hc06_ptr,
&
hdr, 4);
+ memcpy(hc06_ptr, hdr, 4);
/* replace the top byte with new ECN | DSCP format */
*hc06_ptr = tmp;
hc06_ptr += 4;