Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2021 06:21:02 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b6cbbcae40b4 - main - m_get3(): actually use the selected zone
Message-ID:  <202111170621.1AH6L2j5039058@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=b6cbbcae40b49acdc6d1d368fc365c7a55c378b1

commit b6cbbcae40b49acdc6d1d368fc365c7a55c378b1
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-11-16 19:47:37 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-11-17 02:09:20 +0000

    m_get3(): actually use the selected zone
    
    Reported by:    markj
---
 sys/kern/kern_mbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_mbuf.c b/sys/kern/kern_mbuf.c
index af00bf8182ac..88a3e84c558d 100644
--- a/sys/kern/kern_mbuf.c
+++ b/sys/kern/kern_mbuf.c
@@ -1428,7 +1428,7 @@ m_get3(int size, int how, short type, int flags)
 	else
 		zone = zone_jumbo16;
 
-	n = uma_zalloc_arg(zone_jumbop, m, how);
+	n = uma_zalloc_arg(zone, m, how);
 	if (n == NULL) {
 		m_free_raw(m);
 		return (NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111170621.1AH6L2j5039058>