aboutsummaryrefslogtreecommitdiff
path: root/share/security/patches/SA-10:07/mbuf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'share/security/patches/SA-10:07/mbuf.patch')
-rw-r--r--share/security/patches/SA-10:07/mbuf.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/security/patches/SA-10:07/mbuf.patch b/share/security/patches/SA-10:07/mbuf.patch
new file mode 100644
index 0000000000..ca137fd6e5
--- /dev/null
+++ b/share/security/patches/SA-10:07/mbuf.patch
@@ -0,0 +1,12 @@
+Index: sys/kern/uipc_mbuf.c
+===================================================================
+--- sys/kern/uipc_mbuf.c (revision 209948)
++++ sys/kern/uipc_mbuf.c (working copy)
+@@ -302,6 +302,7 @@
+ 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;
+ }
+
+ /*