projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6be35c7
)
nfc: remove noisy message from llcp_sock_sendmsg
author
Dave Jones
<
[email protected]
>
Wed, 12 Dec 2012 18:11:34 +0000
(18:11 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 13 Dec 2012 17:58:10 +0000
(12:58 -0500)
This is easily triggerable when fuzz-testing as an unprivileged user.
We could rate-limit it, but given we don't print similar messages
for other protocols, I just removed it.
Signed-off-by: Dave Jones <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/nfc/llcp/sock.c
patch
|
blob
|
history
diff --git
a/net/nfc/llcp/sock.c
b/net/nfc/llcp/sock.c
index 0fa1e92ceac8869f026a8bf2a61724ce102919fe..fea22eb41b8242a1fb80d22c6aa2ca6515d78d0e 100644
(file)
--- a/
net/nfc/llcp/sock.c
+++ b/
net/nfc/llcp/sock.c
@@
-614,10
+614,6
@@
static int llcp_sock_sendmsg(struct kiocb *iocb, struct socket *sock,
if (msg->msg_namelen < sizeof(*addr)) {
release_sock(sk);
-
- pr_err("Invalid socket address length %d\n",
- msg->msg_namelen);
-
return -EINVAL;
}