mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
if_tsec: Free entire mbuf chain on failure
Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57478
This commit is contained in:
1 parent
3d0b6c69dc
commit
39e2fe2323
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user