1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-15 15:06:42 +00:00

Remove an erroneous m_freem() call. If m_defrag() returns a non-NULL

pointer, it has already freed the original mbuf chain, so we shouldn't
do it again.

This is an MFC candidate.
This commit is contained in:
Maxime Henrion 2005-07-25 22:21:11 +00:00
parent a65d8df916
commit 67685686ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148412

View File

@ -875,7 +875,6 @@ nve_ifstart(struct ifnet *ifp)
sc->tx_errors++;
continue;
}
m_freem(m0);
m0 = m;
error = bus_dmamap_load_mbuf(sc->mtag, buf->map, m,