git: bad5f0b6c294 - main - iflib: switch bare zone_mbuf use to m_free_raw

Mateusz Guzik mjg at FreeBSD.org
Fri Jul 2 08:30:29 UTC 2021


The branch main has been updated by mjg:

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

commit bad5f0b6c2944453db2d70a982e8abf203f21669
Author:     Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-06-30 14:17:29 +0000
Commit:     Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-07-02 08:30:22 +0000

    iflib: switch bare zone_mbuf use to m_free_raw
    
    Reviewed by:    kbowling
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D30961
---
 sys/net/iflib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/iflib.c b/sys/net/iflib.c
index ea3754a07ee6..0b36e880e15e 100644
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -2238,7 +2238,7 @@ iflib_fl_bufs_free(iflib_fl_t fl)
 			*sd_cl = NULL;
 			if (*sd_m != NULL) {
 				m_init(*sd_m, M_NOWAIT, MT_DATA, 0);
-				uma_zfree(zone_mbuf, *sd_m);
+				m_free_raw(*sd_m);
 				*sd_m = NULL;
 			}
 		} else {


More information about the dev-commits-src-main mailing list