diff options
| author | Luiz Augusto von Dentz <[email protected]> | 2021-09-03 22:27:32 +0000 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2021-09-13 19:53:23 +0000 |
| commit | 81be03e026dc0c16dc1c64e088b2a53b73caa895 (patch) | |
| tree | 9d3cfb7c43a27b403f3ba40a899186f6069f4239 /net/bluetooth/hci_request.c | |
| parent | Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg (diff) | |
| download | kernel-81be03e026dc0c16dc1c64e088b2a53b73caa895.tar.gz kernel-81be03e026dc0c16dc1c64e088b2a53b73caa895.zip | |
Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg
This makes use of bt_skb_sendmmsg instead using memcpy_from_msg which
is not considered safe to be used when lock_sock is held.
Also make rfcomm_dlc_send handle skb with fragments and queue them all
atomically.
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
