nfscl: Fix parameter order in the calls to MGET().

Reviewed by:		imp, rmacklem
Differential Revision:	https://reviews.freebsd.org/D36644
This commit is contained in:
Zhenlei Huang 2022-09-23 15:04:36 -06:00 committed by Warner Losh
parent d4accf60d9
commit 8b43388c74

View File

@ -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;