From nobody Fri Oct 07 00:04:54 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 4Mk7pt6qMNz4dqMc; Fri, 7 Oct 2022 00:04:54 +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 4Mk7pt6F3fz42cb; Fri, 7 Oct 2022 00:04:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665101094; 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=SHgRFzT1oVsoB0OBko2AtY2/qITXJIws4N50eJq9OE4=; b=RFHxRV5v1zNrZKeqOew1i2OkS/rwCER+Ily+UsBoMSdSAyqNg8DQa0iHSVnawc2zpjyiL0 VqLN1WnR+2aF4gVMz/SwVMPT09Mzn/Di7Y+boyUpfAXl+fHAvY+b5gJ/cTty7ud66aZzIn iIcdgwWGRXsIeh5qPcOcYa74sdkoV3B5cry7wxbErl2wZnV079np6KhI+0RpsRV8Dt6R/D /PV9kMwH2U46PE4f9LONLKEYf6ichR8ikeHXAKAxxELWGqvAwfF0TXz96S/Pgw3HTqJtq1 mhcc6zE4zH8pk6qW11V6YLJMwUSVlZIH7D3rfTEZPy3m037gz8vaDTh3jdr5Bg== 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 4Mk7pt5FNvzQJ1; Fri, 7 Oct 2022 00:04:54 +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 29704sgT004482; Fri, 7 Oct 2022 00:04:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29704ss6004481; Fri, 7 Oct 2022 00:04:54 GMT (envelope-from git) Date: Fri, 7 Oct 2022 00:04:54 GMT Message-Id: <202210070004.29704ss6004481@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: 85b7031febb4 - stable/12 - nfscl: Fix parameter order in the calls to MGET(). 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: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 85b7031febb4e308cd7dd94462c4db475195cd9d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665101094; 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=SHgRFzT1oVsoB0OBko2AtY2/qITXJIws4N50eJq9OE4=; b=vE0JfbueMNgjQdqkO/Yof4+2JqWq9DWKZvSBSHgQDIsiC+P3YeODG/KEi6YKdNeTfEv8gk UvMB0rICpoeaVauDbl+ByDt3Z2uxNLyY1bgPxpDv6cJ1b79YeAH8+1AEsF8YS0NJJzuPc2 9kZfE6V55gnzroF69pITRmHu1xlSYO3PKTk7k4hUIXYel+BYPtDEcYEsFiuVtT6NvQ3hBR GwH34He+H69mH8v+1RpRJPJTI0mq+sSLIgtXieLAJ93ojTAjMPAzLZFVsQXp66FY6jWX91 vpIc/dG2Hc1HP9TsB60/AUMls+WLNWqs25o0cfJuzLIxBYB6KbHlgW5VPOuEaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665101094; a=rsa-sha256; cv=none; b=pfo3LhCCTLDveofkYi2IvmjWi23i+5LcqRwfVkMVU58WpZWsWubsjiGtzLXg/d31GP8G/K k5jr32aAtZO0ZboF+IzNoNuOXZ5rB+7aNVNICuyVUVk2QBSQsQlOUWTOPu6dpE77EU9yjL aikiC2f+SU+NykIRBabZDhOFSuoxuRAiTR2pd0iLruP+jH/oj8TbFNgteeXUHgrGvePiY8 UEOV394lLhX5cfw3rniyV/4VcKaGlCWtEg634ryPtzGEp0A3VIHjeuVz88VMX4BwfwvJed P+JVJf3XQK7TyH7KZ0/FEIcOVPQqZxM++0QA8GXHCMkGG3g0hfQlu154YuLyOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=85b7031febb4e308cd7dd94462c4db475195cd9d commit 85b7031febb4e308cd7dd94462c4db475195cd9d Author: Zhenlei Huang AuthorDate: 2022-09-23 21:04:36 +0000 Commit: Rick Macklem CommitDate: 2022-10-07 00:01:13 +0000 nfscl: Fix parameter order in the calls to MGET(). (cherry picked from commit 8b43388c745ebb42414496f2925f47acac662c2f) --- sys/fs/nfs/nfs_commonsubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/nfs/nfs_commonsubs.c b/sys/fs/nfs/nfs_commonsubs.c index 3ccfb6cce0d2..634e76ecbd2e 100644 --- a/sys/fs/nfs/nfs_commonsubs.c +++ b/sys/fs/nfs/nfs_commonsubs.c @@ -679,7 +679,7 @@ nfsm_dissct(struct nfsrv_descript *nd, int siz, int how) } else if (siz > ncl_mbuf_mhlen) { panic("nfs S too big"); } else { - MGET(mp2, MT_DATA, how); + MGET(mp2, how, MT_DATA); if (mp2 == NULL) return (NULL); mbuf_setnext(mp2, mbuf_next(nd->nd_md));