diff options
author | archie <archie@FreeBSD.org> | 1999-12-01 22:31:32 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1999-12-01 22:31:32 +0000 |
commit | 8e6dc36b73cc5b08e51f9c0baf804c7a01842fbf (patch) | |
tree | 132944441fa46dc24a89d771fb0065502025e06f /sys/libkern | |
parent | abcc28c7f8416570111b9f237ccac06a980119a1 (diff) | |
download | FreeBSD-src-8e6dc36b73cc5b08e51f9c0baf804c7a01842fbf.zip FreeBSD-src-8e6dc36b73cc5b08e51f9c0baf804c7a01842fbf.tar.gz |
The functions m_copym() and m_copypacket() return read-only copies,
because in the case of mbuf clusters they only increment the reference
count rather than actually copying the data.
Add comments to this effect, and add a new routine called m_dup() that
returns a real, writable copy of an mbuf chain.
This is preliminary work required for implementing 'ipfw tee'.
Reviewed by: julian
Diffstat (limited to 'sys/libkern')
0 files changed, 0 insertions, 0 deletions