From nobody Fri Jun 17 19:41:21 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 9F13A85DB91; Fri, 17 Jun 2022 19:41:22 +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 4LPqD20HBtz3jFy; Fri, 17 Jun 2022 19:41:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494882; 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=C3MeQKrrjwwXrDyIyGSd6WX5SbZ6hr/UfBt5E66rJdc=; b=RMGca3PiWlxOMN1RgRVdIeVcL2BMyhOpbLoQhzJSK+fJMg6VFL4vgpemzuE/RQtruoi7SE bBMqzLbz8ns/pmND37E4alGFbw4KjLCt+E7qRCtEBy+QBrIAn+ih49VAlkVfcKdq5zrwEc rQ/TmRw9TOrPfacpNy7P6fl4MtDIA0KkbQT8OS7N4iW1kJPyB0KtWAx242o70W8enBh+4Z 5YcvwHAYyFkxk8N9Ko/nzqRzTG8UN3be+WOvalijMYzN5ZSIt73f9VWJoPVInQz6mjdWJ4 tCzt+d9UUbI+BLwercctUVXq9In/ejKiPTX8LMqiX3SiE5vQhR6xkIX+iaDZOw== 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 7177D25E01; Fri, 17 Jun 2022 19:41:21 +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 25HJfLeo030359; Fri, 17 Jun 2022 19:41:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJfLLZ030358; Fri, 17 Jun 2022 19:41:21 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:41:21 GMT Message-Id: <202206171941.25HJfLLZ030358@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: a66a5455782c - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: a66a5455782c56bc36266e0142bedd134f94edf6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494882; 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=C3MeQKrrjwwXrDyIyGSd6WX5SbZ6hr/UfBt5E66rJdc=; b=SSnwJCmqGBV4991i4FXWrTSlTOUSBB2QdEphDQKHdiQXvFo3EZne319Qc5kxL8tqetEDfO 1QVw1WzTyMrm76e8yzdCV29eCX68lvtEx+9Is2ZE6s4knr8uzoTo3K6zRg0VRyU6wmdE0J yAzfc1jypzqSXX6gXXyaOi0YHwWuc7XZ8kOMaU744cbrny/pa8TkNZQnk6KyYJXNMY3mdW lcnV2Ggtspwg0kaNW+fRCbatlYbyDPp4hy3igydSmFEbk+qwGF9K2iR/Gl6gd1sgj7gHjK sAaHqcc792MS9FRWIFThX/D/F4/1dfBshJd0sZZW2TO+fGMwGDpASokpIy8tdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494882; a=rsa-sha256; cv=none; b=kJELO1FOTFUmOnqHoOG+4VMl738+sduQIUhI+v3qC041M/Ow/rytXePHE9+B0/0WZsRbm7 i4mnCzKnT8a3xr6ZIRtYFwSKUkKhWIriE56SuGV6JRc5oC2PNDIvEBy1gqF2RfO7qdGkS4 IYD1hDeKoVg0VIStDVfhFXIXAHvJcFQlN9wdTWXx8tHbASe3XvqbhE25wetQ+zXJ47buIR eQOc+zfImd7noD0NFLajN36JAFr+4cjzRLI5oanTiODv5An58yinD1jaOHWqWE9Zwu6UmQ C3AC0F1ts/sof5lEyE/MECAGxgjvaqlnlD1RsNymL72LSy6pF42JMNjXfVSEhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=a66a5455782c56bc36266e0142bedd134f94edf6 commit a66a5455782c56bc36266e0142bedd134f94edf6 Author: Dmitry Chagin AuthorDate: 2022-05-28 20:48:16 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:35:36 +0000 linux(4): Ratelimit message about unupported cmsg MFC after: 2 weeks (cherry picked from commit 31d7f3e9ce2d0d69123f3d20453f4fa41ac434d7) --- 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;