diff options
author | Dave Jones <davej@redhat.com> | 2012-12-12 18:11:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-13 12:58:10 -0500 |
commit | 026e43def736923fedb9919a0bd22fff7ba03e8b (patch) | |
tree | 3a7f8e9451da05d5553d76bc0da355c7aa4bcaf5 /net | |
parent | 6be35c700f742e911ecedd07fcc43d4439922334 (diff) | |
download | linux-3.10-026e43def736923fedb9919a0bd22fff7ba03e8b.tar.gz linux-3.10-026e43def736923fedb9919a0bd22fff7ba03e8b.tar.bz2 linux-3.10-026e43def736923fedb9919a0bd22fff7ba03e8b.zip |
nfc: remove noisy message from llcp_sock_sendmsg
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 <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/nfc/llcp/sock.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/nfc/llcp/sock.c b/net/nfc/llcp/sock.c index 0fa1e92ceac..fea22eb41b8 100644 --- 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; } |