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:
parent
ecd3f47aed
commit
e3fbc5aabf
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user