Bluetooth: Perform L2CAP SDU reassembly without copying data
authorMat Martineau <mathewm@codeaurora.org>
Fri, 22 Jul 2011 21:54:00 +0000 (14:54 -0700)
committerGustavo F. Padovan <gustavo@padovan.org>
Tue, 27 Sep 2011 21:16:18 +0000 (18:16 -0300)
commit84084a3197a9fdec10fa542c0df11928a784e7fc
tree4da560352bb5af8418d22fc65e516004d2e666b5
parent5b668eb3270f3f9c13ddf6e4fb57bf20c83dccff
Bluetooth: Perform L2CAP SDU reassembly without copying data

Use sk_buff fragment capabilities to link together incoming skbs
instead of allocating a new skb for reassembly and copying.

The new reassembly code works equally well for ERTM and streaming
mode, so there is now one reassembly function instead of two.

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