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

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,