Prefer m_collapse(9) over m_defrag(9).
Reviewed by: davidch
This commit is contained in:
parent
a4df49e099
commit
90740e4631
@ -6713,7 +6713,7 @@ bce_tx_encap_skip_tso:
|
||||
sc->fragmented_mbuf_count++;
|
||||
|
||||
/* Try to defrag the mbuf. */
|
||||
m0 = m_defrag(*m_head, M_DONTWAIT);
|
||||
m0 = m_collapse(*m_head, M_DONTWAIT, BCE_MAX_SEGMENTS);
|
||||
if (m0 == NULL) {
|
||||
/* Defrag was unsuccessful */
|
||||
m_freem(*m_head);
|
||||
|
Loading…
x
Reference in New Issue
Block a user