The branch main has been updated by emaste:

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

commit 39e2fe23238f4d49cd6f2c3ce9d0d9c1c3bcbedd
Author:     Ed Maste <[email protected]>
AuthorDate: 2026-06-05 21:05:34 +0000
Commit:     Ed Maste <[email protected]>
CommitDate: 2026-06-15 14:32:02 +0000

    if_tsec: Free entire mbuf chain on failure
    
    Reviewed by:    bz
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D57478
---
 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;
                        }
 

Reply via email to