Skip to content
Commit ccbb84af authored by Gustavo Padovan's avatar Gustavo Padovan
Browse files

Bluetooth: Simplify L2CAP Streaming mode sending



As we don't have any error control on the Streaming mode, i.e., we don't
need to keep a copy of the skb for later resending we don't need to
call skb_clone() on it.
Then we can go one further here, and dequeue the skb before sending it,
that also means we don't need to look to sk->sk_send_head anymore.

The patch saves memory and time when sending Streaming mode data, so
it is good to mainline.

Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 8183b775
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment