git: eae6de040612 - stable/13 - iflib: switch bare zone_mbuf use to m_free_raw

Mateusz Guzik mjg at FreeBSD.org
Mon Jul 5 12:05:11 UTC 2021


The branch stable/13 has been updated by mjg:

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

commit eae6de040612845aa2f0582d1f84914ed8aa1a4a
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-05 12:05:00 +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
    
    (cherry picked from commit bad5f0b6c2944453db2d70a982e8abf203f21669)
---
 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 788cc51822a1..a71c48e772e5 100644
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -2219,7 +2219,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-branches mailing list