Hi Gustavo, > Remove socket specific code from l2cap_core.c > > Signed-off-by: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx> > Acked-by: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> > --- > net/bluetooth/l2cap_core.c | 12 ------------ > net/bluetooth/l2cap_sock.c | 6 ++++++ > 2 files changed, 6 insertions(+), 12 deletions(-) I applied this the first 5 patches to bluetooth-next so far. <snip> > diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c > index 5563023..d856cc8 100644 > --- a/net/bluetooth/l2cap_sock.c > +++ b/net/bluetooth/l2cap_sock.c > @@ -895,6 +895,12 @@ static struct l2cap_chan *l2cap_sock_new_connection_cb(struct l2cap_chan *chan) > { > struct sock *sk, *parent = chan->data; > > + /* Check for backlog size */ > + if (sk_acceptq_is_full(parent)) { > + BT_DBG("backlog full %d", parent->sk_ack_backlog); > + return NULL; > + } > + > sk = l2cap_sock_alloc(sock_net(parent), NULL, BTPROTO_L2CAP, > GFP_ATOMIC); > if (!sk) And on a side note, does this still have to be GFP_ATOMIC? Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html