From patchwork Tue May 3 19:10:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 1625711 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=WTEpGb9V; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kt8hg05Jbz9sCq for ; Wed, 4 May 2022 05:11:45 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nlxvp-0008VI-Fb; Tue, 03 May 2022 19:11:33 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nlxvo-0008V2-K7 for kernel-team@lists.ubuntu.com; Tue, 03 May 2022 19:11:32 +0000 Received: from localhost.localdomain (1.general.cascardo.us.vpn [10.172.70.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 477E83F772 for ; Tue, 3 May 2022 19:11:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1651605092; bh=kqFWK8T7ljahmxHYxfrhwU9e9jQRzxgDcedcJ8x32ro=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=WTEpGb9V/3fFsgA6Cz77+d9JJDDFh2hMESwHnH57KCqx96QdytEl+KPEsMxzf0qtR pyCh1MVJxuY1a3UFbjBsNHFWPTTltSAFinms5g277IhHGoNj2Hz3bq5I3liS6mPCzj upbEG+MsZJ9psKCToWzPxRtfAEwWEsrs8bI/FG6MQ9RN7mr5ssaFBI8Xy92QKpE1Xb F32bUnrqun1KzPKFd/5pVIfHN+e67yMMHz91wku7yXC6WyPQD1UX+N0olslRIAstOX GFdvuS8dj4dPumfFdeLzuFe8nDOnVxOH2w1D45B1JHOkWp+nlHqmfhOmgT5jT/UmMO q3zNU3hgeioGQ== From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [SRU Bionic/Focal] vsock: remove ratelimit unknown ioctl message Date: Tue, 3 May 2022 16:10:27 -0300 Message-Id: <20220503191027.3631545-1-cascardo@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Colin Ian King 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 Reviewed-by: Stefano Garzarella Signed-off-by: Jakub Kicinski (cherry picked from commit 6bc8f20c1d9348bdf9ce387228c1b16ce4a301ad) Signed-off-by: Thadeu Lima de Souza Cascardo Acked-by: Luke Nowakowski-Krijger Acked-by: Tim Gardner --- net/vmw_vsock/af_vsock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index d60d7caacbf5..bc972ecb01ee 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock/af_vsock.c @@ -1890,7 +1890,6 @@ static long vsock_dev_do_ioctl(struct file *filp, break; default: - pr_err("Unknown ioctl %d\n", cmd); retval = -EINVAL; }