Explicitly emphasize a facet of m_pullup() that some people seem to

frequently forget. i.e. that you can not keep using pointers to
within the old chain.
This commit is contained in:
julian 2006-12-08 23:44:30 +00:00
parent 1555dc07f7
commit 2df82cb38b

View File

@ -643,6 +643,10 @@ are contiguous and lay in the data area of
.Fa mbuf ,
so they are accessible with
.Fn mtod mbuf type .
It is important to remember that this may involve
reallocating some mbufs and moving data so all pointers
referencing data within the old mbuf chain
must be recalculated or made invalid.
Return the new
.Vt mbuf chain
on success,