Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2022 21:09:34 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8b43388c745e - main - nfscl: Fix parameter order in the calls to MGET().
Message-ID:  <202209232109.28NL9Ym3097539@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b43388c745ebb42414496f2925f47acac662c2f

commit 8b43388c745ebb42414496f2925f47acac662c2f
Author:     Zhenlei Huang <zlei.huang@gmail.com>
AuthorDate: 2022-09-23 21:04:36 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-09-23 21:07:24 +0000

    nfscl: Fix parameter order in the calls to MGET().
    
    Reviewed by:            imp, rmacklem
    Differential Revision:  https://reviews.freebsd.org/D36644
---
 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 06b0354e06a7..b16aa428556f 100644
--- a/sys/fs/nfs/nfs_commonsubs.c
+++ b/sys/fs/nfs/nfs_commonsubs.c
@@ -744,7 +744,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);
 		mp2->m_next = nd->nd_md->m_next;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209232109.28NL9Ym3097539>