vsock: remove ratelimit unknown ioctl message
authorColin Ian King <colin.king@canonical.com>
Tue, 27 Oct 2020 09:09:41 +0000 (09:09 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 30 Oct 2020 00:43:20 +0000 (17:43 -0700)
When exercising the kernel with stress-ng with some ioctl tests the
"Unknown ioctl" error message is spamming the kernel log at a high
rate. Remove this message.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/vmw_vsock/af_vsock.c

index b4d7b8a..9c4cd82 100644 (file)
@@ -2072,7 +2072,6 @@ static long vsock_dev_do_ioctl(struct file *filp,
                break;
 
        default:
-               pr_err("Unknown ioctl %d\n", cmd);
                retval = -EINVAL;
        }