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)
commit5b668eb3270f3f9c13ddf6e4fb57bf20c83dccff
treee50403979ce54f9e7c4aead7075c4fc266ee396a
parent449357200c5d73d80a9c42dee5dafed684b3cd17
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