From 8b43388c745ebb42414496f2925f47acac662c2f Mon Sep 17 00:00:00 2001 From: Zhenlei Huang Date: Fri, 23 Sep 2022 15:04:36 -0600 Subject: [PATCH] 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;