aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2010-07-13 02:45:17 +0000
committerColin Percival <cperciva@FreeBSD.org>2010-07-13 02:45:17 +0000
commitd5406806abdc46dbb99934f5001d3b4bf18c8ee4 (patch)
tree57f2fdc6f270e9dd28d48ca4a7a65caed14d18cb /sys
parent62e702af841e9756db93cf070ab4e41652acdb8e (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_mbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 85e0e3955281..71ee398cf048 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -302,6 +302,7 @@ mb_dupcl(struct mbuf *n, struct mbuf *m)
n->m_ext.ref_cnt = m->m_ext.ref_cnt;
n->m_ext.ext_type = m->m_ext.ext_type;
n->m_flags |= M_EXT;
+ n->m_flags |= m->m_flags & M_RDONLY;
}
/*