]> git.baikalelectronics.ru Git - 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)
commitabd7fff1676c7d554a14b5524356efbf145afe1a
treeac6e7cf87826254809402bec1e97c8e695c826f6
parent79ad1c58a681c4665cebdc3676f02b774f818a78
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