summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2006-12-08 23:44:30 +0000
committerjulian <julian@FreeBSD.org>2006-12-08 23:44:30 +0000
commit2df82cb38b803ef371319f32f9c104429e65c46c (patch)
tree5bf5e650d653d9f39ab3934f6d6a87a6ca4fd049 /share
parent1555dc07f709b2fcd85e8c4b684a7d61b635b059 (diff)
downloadFreeBSD-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.94
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,
OpenPOWER on IntegriCloud