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:
parent
a65d8df916
commit
67685686ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148412
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user