diff options
author | julian <julian@FreeBSD.org> | 2006-12-08 23:44:30 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2006-12-08 23:44:30 +0000 |
commit | 2df82cb38b803ef371319f32f9c104429e65c46c (patch) | |
tree | 5bf5e650d653d9f39ab3934f6d6a87a6ca4fd049 /share | |
parent | 1555dc07f709b2fcd85e8c4b684a7d61b635b059 (diff) | |
download | FreeBSD-src-2df82cb38b803ef371319f32f9c104429e65c46c.zip FreeBSD-src-2df82cb38b803ef371319f32f9c104429e65c46c.tar.gz |
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.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/mbuf.9 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index e2d3865..dc98b02 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -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, |