From: Samuel Ortiz Date: Thu, 21 Feb 2013 10:04:45 +0000 (+0100) Subject: NFC: llcp: Decrease socket ack log when accepting a connection X-Git-Tag: firefly_0821_release~3680^2~707^2~11^2^2~42^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b141e811a0763bb107af4cd99d456193ccdb8053;p=firefly-linux-kernel-4.4.55.git NFC: llcp: Decrease socket ack log when accepting a connection This is really difficult to test with real NFC devices, but without this fix an LLCP server will eventually refuse new connections. Signed-off-by: Samuel Ortiz --- diff --git a/net/nfc/llcp/sock.c b/net/nfc/llcp/sock.c index 5332751943a9..5c7cdf3f2a83 100644 --- a/net/nfc/llcp/sock.c +++ b/net/nfc/llcp/sock.c @@ -278,6 +278,8 @@ struct sock *nfc_llcp_accept_dequeue(struct sock *parent, pr_debug("Returning sk state %d\n", sk->sk_state); + sk_acceptq_removed(parent); + return sk; }