Skip to content

Commit

Permalink
nfc: remove noisy message from llcp_sock_sendmsg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Jones authored and David S. Miller committed Dec 13, 2012
1 parent 6be35c7 commit 026e43d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/nfc/llcp/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 026e43d

Please sign in to comment.