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

Reviewed by:		imp, rmacklem
Differential Revision:	https://reviews.freebsd.org/D36644
main
Zhenlei Huang 2 weeks ago committed by Warner Losh
parent d4accf60d9
commit 8b43388c74
  1. 2
      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;

Loading…
Cancel
Save