]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
vsock: remove ratelimit unknown ioctl message
authorColin Ian King <colin.king@canonical.com>
Tue, 3 May 2022 19:10:27 +0000 (16:10 -0300)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 13:20:08 +0000 (15:20 +0200)
BugLink: https://bugs.launchpad.net/bugs/1971480
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>
(cherry picked from commit 6bc8f20c1d9348bdf9ce387228c1b16ce4a301ad)
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Acked-by: Luke Nowakowski-Krijger <luke.nowakowskikrijger@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/vmw_vsock/af_vsock.c

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