ktls: switch bare zone_mbuf use to m_free_raw

Reviewed by:	gallatin
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D30955
This commit is contained in:
Mateusz Guzik 2021-06-30 15:02:45 +02:00
parent bad5f0b6c2
commit 904a08f342

View File

@ -2174,7 +2174,7 @@ ktls_work_thread(void *ctx)
STAILQ_FOREACH_SAFE(m, &local_m_head, m_epg_stailq, n) {
if (m->m_epg_flags & EPG_FLAG_2FREE) {
ktls_free(m->m_epg_tls);
uma_zfree(zone_mbuf, m);
m_free_raw(m);
} else {
ktls_encrypt(wq, m);
counter_u64_add(ktls_cnt_tx_queued, -1);