mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
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>
This commit is contained in:
parent
6be35c700f
commit
026e43def7
1 changed files with 0 additions and 4 deletions
|
@ -614,10 +614,6 @@ static int llcp_sock_sendmsg(struct kiocb *iocb, struct socket *sock,
|
||||||
|
|
||||||
if (msg->msg_namelen < sizeof(*addr)) {
|
if (msg->msg_namelen < sizeof(*addr)) {
|
||||||
release_sock(sk);
|
release_sock(sk);
|
||||||
|
|
||||||
pr_err("Invalid socket address length %d\n",
|
|
||||||
msg->msg_namelen);
|
|
||||||
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue