[PATCH] BLUETOOTH: Fix unaligned access in hci_send_to_sock.
authorDavid S. Miller <davem@davemloft.net>
Wed, 22 Nov 2006 02:59:08 +0000 (02:59 +0000)
committerChris Wright <chrisw@sous-sol.org>
Sat, 2 Dec 2006 00:12:37 +0000 (16:12 -0800)
commitd04db24f10d11acdecc4a718b1f27afb91533dbf
treece87c21f4a7ed6a29bdbf62d0593bf9db4667e71
parentf0017a04c679278dcd6d6e042a967ea695b04eef
[PATCH] 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/bluetooth/hci_sock.c