]> git.karo-electronics.de Git - karo-tx-linux.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 <padovan@profusion.mobi>
Thu, 11 Aug 2011 22:57:28 +0000 (19:57 -0300)
commit306a15e7e7f50e81c05a2453c4b9ef7e2a372f47
tree437c24511ec68571247bde766c070a021b1c035a
parent35296e13fb4ca887ca1f57c8c01b343b83dd8efd
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