Unaligned accesses in hci_send_to_sock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I'm getting multiple unaligned accesses when using the bluetooth subsystem.

Kernel unaligned access at TPC[10247dc4] hci_send_to_sock+0xb4/0x174 [bluetooth]

With my limited kernel module debugging skills i think the culprit is at net/bluetooth/hci_sock.c lines 123-126:

if (flt->opcode && ((evt == HCI_EV_CMD_COMPLETE &&
                flt->opcode != *(__u16 *)(skb->data + 3)) ||
                (evt == HCI_EV_CMD_STATUS &&
                flt->opcode != *(__u16 *)(skb->data + 4))))

That looks terrible or am i wrong?
Best regards.

--
Gustavo Zacarias
Gentoo/SPARC monkey
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux