OSDN Git Service

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)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:11 +0000 (11:59 -0700)
commit54f615108c1df6dc15baf687650163d7c459b740
tree82f50154d1cc73196053d449a391ff14d4742dd0
parent23b6dd6ff795b3ed4e327d42fbc1e646e1f00e98
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