Skip to contentSkip to conversation

remove noisy message from llcp_sock_sendmsg

PATCH Applied Dave Jones 2 participants 2 messages Dec 13, 2012

Subsystems (3)
lore
Share & tools
lore

Dave Jones

author
#0 lore raw

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.

net/nfc/llcp/sock.c +0 -4
index 0fa1e92..fea22eb 100644
@@ -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;
 		}
 
maintainer Applied
#1 lore raw

From: Dave Jones <[email protected]>
Date: Wed, 12 Dec 2012 23:11:34 -0500

Quoted 5 lines

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.

Applied.

Please provide appropriate "xxx: " prefixes in your subject lines for patch submissions. "nfc: " would have been appropriate for this one.

Thanks.