]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Bluetooth: Allow unsegmented SDU retries on sock_queue_rcv_skb failure
authorRuiyi Zhang <Ruiyi.Zhang@Atheros.com>
Fri, 13 May 2011 05:07:52 +0000 (13:07 +0800)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 8 Jun 2011 19:58:15 +0000 (16:58 -0300)
commit224f8af0db1cd50e9d954ca9d5a7d7716f63d2b0
treeac6e7cf87826254809402bec1e97c8e695c826f6
parent931749bf78b969c54de9bbc67cf29b13a40bb73b
Bluetooth: Allow unsegmented SDU retries on sock_queue_rcv_skb failure

In L2CAP_SDU_UNSEGMENTED case, if sock_queue_rcv_skb returns error,
l2cap_ertm_reassembly_sdu should not return 0 so as to insert the
skb into BUSY_QUEUE for later retries.

Signed-off-by: Ruiyi Zhang <Ruiyi.Zhang@Atheros.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c