git: 2a69eb8c878e - main - cxgb: switch bare zone_mbuf use to m_free_raw

Mateusz Guzik mjg at FreeBSD.org
Tue Jul 6 19:05:15 UTC 2021


The branch main has been updated by mjg:

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

commit 2a69eb8c878eb5c9a31c37fd08ea292f9a3a0a36
Author:     Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-07-06 16:25:39 +0000
Commit:     Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-07-06 19:05:11 +0000

    cxgb: switch bare zone_mbuf use to m_free_raw
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/dev/cxgb/cxgb_sge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c
index 00b67880fcc8..0d415d94224f 100644
--- a/sys/dev/cxgb/cxgb_sge.c
+++ b/sys/dev/cxgb/cxgb_sge.c
@@ -806,7 +806,7 @@ free_rx_bufs(adapter_t *sc, struct sge_fl *q)
 				uma_zfree(zone_pack, d->m);
 			} else {
 				m_init(d->m, M_NOWAIT, MT_DATA, 0);
-				uma_zfree(zone_mbuf, d->m);
+				m_free_raw(d->m);
 				uma_zfree(q->zone, d->rxsd_cl);
 			}			
 		}


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