mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
Prefer m_collapse(9) over m_defrag(9).
Reviewed by: davidch
This commit is contained in:
parent
b2ec4a73f5
commit
80a48895fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue