git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0114123
)
mac802154: tx: use put_unaligned_le16 for copy crc
author
Alexander Aring
<alex.aring@gmail.com>
Mon, 27 Oct 2014 16:13:28 +0000
(17:13 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 27 Oct 2014 17:07:36 +0000
(18:07 +0100)
This patch replaces the memcpy with a put_unaligned_le16. The placement
of crc inside of PSDU can also be unaligned. With memcpy this can fail
on some architectures.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reported-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/tx.c
patch
|
blob
|
history
diff --cc
net/mac802154/tx.c
Simple merge