From nobody Sat May 28 20:53:30 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0B6C11B509C8; Sat, 28 May 2022 20:53:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L9YmW1qzbz4lTX; Sat, 28 May 2022 20:53:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653771211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DhjAAaDV5JcXg1kbCW18LOU2qXjczBonzyRd29VTTz4=; b=Td+ZeHtuoGxsiyqVABEw/nwM8DgHN8/1nsX19g2eHUDv22cUQWtipV8pA7KU/V2DrRP8M2 A7rdcQC+bOGLmZLuuc6Uj+oxPdnORcwtjGaRvByvKHknz0+K8O9QYxTXWlVj5oGLDTjVie 0im7isDzvGh4HygAEvGxQ+mUF3r/WWiiemYRNUnyg9Yt7xTqWh676+3hgEMswsP+m0E6bp 44EMMbzKZgOrAR+ApRh0M6BBooTwKJT8ci+23Vi3MGjx2dt8Dpm9EI4/+wjijvyEjnLdRR aS7qkduhjnhOqmuoGV21E6KAd36hqpjxA3ueOhYKkuT//Yw9M6046J9rmttuGw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0A89C1610B; Sat, 28 May 2022 20:53:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24SKrUX2099559; Sat, 28 May 2022 20:53:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24SKrUUA099558; Sat, 28 May 2022 20:53:30 GMT (envelope-from git) Date: Sat, 28 May 2022 20:53:30 GMT Message-Id: <202205282053.24SKrUUA099558@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 31d7f3e9ce2d - main - linux(4): Ratelimit message about unupported cmsg List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 31d7f3e9ce2d0d69123f3d20453f4fa41ac434d7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653771211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DhjAAaDV5JcXg1kbCW18LOU2qXjczBonzyRd29VTTz4=; b=qYTDYsaD/6n/jvN9A/JrWhD1dcBvvm2Iv9GZ08jtr/54b16918n6N2LiU6ZsM7bnhuIlUs 4ztK9Urzc6kwzri6riS/S/w+kaMkGH2qb9FfY1Xzv+IwIeJFJHvRIy7V9xdHO2IO6oZDRp wOceUeNnCLkh5XiB1AIXuiPSDxfW2XL1NL1/atndFPRDSwbhcnjNtc7QnrtBZ+/zYg+b2T qorq4SvTB3YZz3kvFfVT9QbVGp9jLK0R5maShAq54a4Ov5/SzPPkGQW70cHMqJ0Aues5FD eKc+YCxnLJd+s5AlH5im3OqgD/lWMNDYGv/tqeV1PpASuh/eO46iofdK79uIQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653771211; a=rsa-sha256; cv=none; b=ymkmied6WAKkvIYSWEh+Y49q8CIepJy08QUKq05T2rbkM90ueXlFYSKZvEQlC38rHp1Kby 4bgYKtjTQ72CTVmesK8JOfW3i4W5M+kIYqhqHUxCeS3GaUDIY/zNqiSflUJaz6FRdkuO6X idfEWrhocApW92yBlamJM3fflmmGghqLjLLGeI7wEjyZbAf45UloxYvs65dSE5o/d0N1Hx Cli4ZFEoacFmGg37EF4kN6ocexsx5xAP6HIZdIbwxu8SjUqALURBeQL7qXL6XqiEqYpM30 y+bvXzgGZIcv5Fpg5SYH3/rQPJm9Ab3UV+KfauIriCiSz1yfuFk/ce2qE9j+uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=31d7f3e9ce2d0d69123f3d20453f4fa41ac434d7 commit 31d7f3e9ce2d0d69123f3d20453f4fa41ac434d7 Author: Dmitry Chagin AuthorDate: 2022-05-28 20:48:16 +0000 Commit: Dmitry Chagin CommitDate: 2022-05-28 20:48:16 +0000 linux(4): Ratelimit message about unupported cmsg MFC after: 2 weeks --- sys/compat/linux/linux_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index b71dee847cf8..67da1b51a86e 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1819,7 +1819,7 @@ linux_recvmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr, if (lcm->cmsg_type == -1 || cm->cmsg_level != SOL_SOCKET) { - linux_msg(curthread, + LINUX_RATELIMIT_MSG_OPT2( "unsupported recvmsg cmsg level %d type %d", cm->cmsg_level, cm->cmsg_type); error = EINVAL;