BLUETOOTH: Fix unaligned access in hci_send_to_sock.
commitd5b430696919770914e83ef8ef18047077298c7f
authorDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2007 18:36:01 +0000 (25 19:36 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 25 Jan 2007 18:36:01 +0000 (25 19:36 +0100)
tree4dea32f263ac4a3550c098b48c6a94ea6ad7f474
parentcf4aeafe86d3cba8c96e0c093196ea3309a126f0
BLUETOOTH: Fix unaligned access in hci_send_to_sock.

The "u16 *" derefs of skb->data need to be wrapped inside of
a get_unaligned().

Thanks to Gustavo Zacarias for the bug report.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/bluetooth/hci_sock.c