]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Handle fragmented skbs in bt_sock_stream_recvmsg()
authorMat Martineau <mathewm@codeaurora.org>
Fri, 22 Jul 2011 21:53:59 +0000 (14:53 -0700)
committerGustavo F. Padovan <gustavo@padovan.org>
Tue, 27 Sep 2011 21:16:07 +0000 (18:16 -0300)
commitf5275adfc0be646f340201b2f3a9df13c2f63814
treee50403979ce54f9e7c4aead7075c4fc266ee396a
parent83f14ab8971ff91296ec7157436579e770ee2b7b
Bluetooth: Handle fragmented skbs in bt_sock_stream_recvmsg()

ERTM reassembly will be more efficient when skbs are linked together
rather than copying every incoming data byte. The existing stream recv
function assumes skbs are linear, so it needs to know how to handle
fragments before reassembly is changed.

bt_sock_recvmsg() already handles fragmented skbs.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/af_bluetooth.c