[BLUETOOTH]: Fix unaligned access in hci_send_to_sock.
authorDavid S. Miller <davem@davemloft.net>
Wed, 22 Nov 2006 00:17:41 +0000 (16:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Nov 2006 00:17:41 +0000 (16:17 -0800)
commit4498c80d9c1ebdf42837be6a52ead35a2aa2b819
tree38357ba0adae6b149abdd4d22c7137fc02e9f0c9
parent785fd8b8a597519127c6d9e16e81f48af2ad391e
[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>
net/bluetooth/hci_sock.c