summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/rfcomm/sock.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-08-30 18:44:44 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2010-09-30 12:19:35 -0300
commitccbb84af28594e19fd4bf27ff2828c80d03b6081 (patch)
treecfb8b361b73c1bd299f17192e964c3184850e08b /net/bluetooth/rfcomm/sock.c
parent8183b775bc5b79b6b1e250019c9dd930554dfa94 (diff)
downloadlinux-ccbb84af28594e19fd4bf27ff2828c80d03b6081.tar.gz
linux-ccbb84af28594e19fd4bf27ff2828c80d03b6081.tar.bz2
linux-ccbb84af28594e19fd4bf27ff2828c80d03b6081.zip
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: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/rfcomm/sock.c')
0 files changed, 0 insertions, 0 deletions