diff options
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index d5db5a38df6a..bc84ed1b3320 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -632,6 +632,8 @@ static void l2cap_le_conn_ready(struct l2cap_conn *conn) | |||
632 | if (!parent) | 632 | if (!parent) |
633 | return; | 633 | return; |
634 | 634 | ||
635 | bh_lock_sock(parent); | ||
636 | |||
635 | /* Check for backlog size */ | 637 | /* Check for backlog size */ |
636 | if (sk_acceptq_is_full(parent)) { | 638 | if (sk_acceptq_is_full(parent)) { |
637 | BT_DBG("backlog full %d", parent->sk_ack_backlog); | 639 | BT_DBG("backlog full %d", parent->sk_ack_backlog); |