The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=8b43388c745ebb42414496f2925f47acac662c2f
commit 8b43388c745ebb42414496f2925f47acac662c2f Author: Zhenlei Huang <zlei.hu...@gmail.com> AuthorDate: 2022-09-23 21:04:36 +0000 Commit: Warner Losh <i...@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;