MFC 1.253: In in_delayed_cksum() don't perform m_pullup() because we can't

pass the new mbuf pointer to the callers.
This commit is contained in:
andre 2006-01-31 16:06:05 +00:00
parent ecd3f47aed
commit e3fbc5aabf

View File

@ -1036,9 +1036,9 @@ in_delayed_cksum(struct mbuf *m)
* XXX
* this shouldn't happen, but if it does, the
* correct behavior may be to insert the checksum
* in the existing chain instead of rearranging it.
* in the appropriate next mbuf in the chain.
*/
m = m_pullup(m, offset + sizeof(u_short));
return;
}
*(u_short *)(m->m_data + offset) = csum;
}