git: 32d229d22fcb - stable/15 - if_tsec: Free entire mbuf chain on failure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jul 2026 16:10:03 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=32d229d22fcbf8b9d143b8c81150f8867b82ddb2
commit 32d229d22fcbf8b9d143b8c81150f8867b82ddb2
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-06-05 21:05:34 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-07-09 16:09:35 +0000
if_tsec: Free entire mbuf chain on failure
Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57478
(cherry picked from commit 39e2fe23238f4d49cd6f2c3ce9d0d9c1c3bcbedd)
---
sys/dev/tsec/if_tsec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/tsec/if_tsec.c b/sys/dev/tsec/if_tsec.c
index 80e42116ed9f..b35f04500436 100644
--- a/sys/dev/tsec/if_tsec.c
+++ b/sys/dev/tsec/if_tsec.c
@@ -1321,7 +1321,7 @@ tsec_receive_intr_locked(struct tsec_softc *sc, int count)
~TSEC_RXBD_ZEROONINIT) | TSEC_RXBD_E | TSEC_RXBD_I;
if (sc->frame != NULL) {
- m_free(sc->frame);
+ m_freem(sc->frame);
sc->frame = NULL;
}