]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 <padovan@profusion.mobi>
Mon, 25 Jul 2011 22:50:15 +0000 (19:50 -0300)
commita3aab79bee8bb38de5b8043b6dd125f56a6f1934
treee7f543c64b9f11ec2f420a43b24b8cd48d2b7696
parentcee1cc4aedfe7a2429724bf06bc94ea15e7629d8
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