projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930df2d
)
NFC: llcp: Decrease socket ack log when accepting a connection
author
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 21 Feb 2013 10:04:45 +0000
(11:04 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 8 Mar 2013 13:25:04 +0000
(14:25 +0100)
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 <sameo@linux.intel.com>
net/nfc/llcp/sock.c
patch
|
blob
|
blame
|
history
diff --git
a/net/nfc/llcp/sock.c
b/net/nfc/llcp/sock.c
index 5332751943a9ec564befadda63a5a3749d7434c1..5c7cdf3f2a83b5a6a85033744121727ecddba70d 100644
(file)
--- 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;
}