]> 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)
commit5b4c36464bb3365b2c460f482da752721ad78b0f
treee50403979ce54f9e7c4aead7075c4fc266ee396a
parentd555fef74fce12e7654f98fb134d5abd458e7737
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