]> Pileus Git - ~andy/linux/blobdiff - net/ieee802154/6lowpan.c
Merge commit 'f4bcd8ccddb02833340652e9f46f5127828eb79d' into x86/build
[~andy/linux] / net / ieee802154 / 6lowpan.c
index 459e200c08a40e4e737798582524cd973064b143..a2d2456a557a7621059a5b0bbe033168492f8fe7 100644 (file)
@@ -547,7 +547,7 @@ static int lowpan_header_create(struct sk_buff *skb,
                        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;