OSDN Git Service

Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 3 Sep 2021 22:27:31 +0000 (15:27 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 13 Sep 2021 19:53:23 +0000 (21:53 +0200)
commit0771cbb3b97d3c1d68eecd7f00055f599954c34e
tree36b3c8f2a30daacf27064e7459b6b063341abc4b
parent97e4e80299844bb5f6ce5a7540742ffbffae3d97
Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg

This makes use of bt_skb_sendmsg instead of allocating a different
buffer to be used with memcpy_from_msg which cause one extra copy.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/sco.c