diff options
| author | Luiz Augusto von Dentz <[email protected]> | 2021-09-16 20:10:49 +0000 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2021-09-21 08:44:52 +0000 |
| commit | 037ce005af6b8a3e40ee07c6e9266c8997e6a4d6 (patch) | |
| tree | 92a7c708be8c5b17870728dc94e9c68c3994c8c6 /net/bluetooth/hci_request.c | |
| parent | Bluetooth: Fix passing NULL to PTR_ERR (diff) | |
| download | kernel-037ce005af6b8a3e40ee07c6e9266c8997e6a4d6.tar.gz kernel-037ce005af6b8a3e40ee07c6e9266c8997e6a4d6.zip | |
Bluetooth: SCO: Fix sco_send_frame returning skb->len
The skb in modified by hci_send_sco which pushes SCO headers thus
changing skb->len causing sco_sock_sendmsg to fail.
Fixes: 0771cbb3b97d ("Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg")
Tested-by: Tedd Ho-Jeong An <[email protected]>
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions
