git: d497b97e9029 - stable/13 - nfscl: Fix parameter order in the calls to MGET().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Oct 2022 23:57:32 UTC
The branch stable/13 has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=d497b97e9029a5dd7579796012f8a854f28894b0
commit d497b97e9029a5dd7579796012f8a854f28894b0
Author: Zhenlei Huang <zlei.huang@gmail.com>
AuthorDate: 2022-09-23 21:04:36 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2022-10-06 23:52:10 +0000
nfscl: Fix parameter order in the calls to MGET().
(cherry picked from commit 8b43388c745ebb42414496f2925f47acac662c2f)
---
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 9057689a36e4..9759df2fcc23 100644
--- a/sys/fs/nfs/nfs_commonsubs.c
+++ b/sys/fs/nfs/nfs_commonsubs.c
@@ -745,7 +745,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;