summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-08-09 12:24:40 +0000
committerderaadt <deraadt@openbsd.org>2009-08-09 12:24:40 +0000
commit397bf6727b9558ffbd222979fe0590132df5eb01 (patch)
treecb1f11fce9ce4797d39372c229feca513e258d9d
parentprotect MCLGET() from inheriting the new semantics of MCLGETI() by casting (diff)
downloadwireguard-openbsd-397bf6727b9558ffbd222979fe0590132df5eb01.tar.xz
wireguard-openbsd-397bf6727b9558ffbd222979fe0590132df5eb01.zip
do not clear a field before we pool_put it into oblivion; ok henning
-rw-r--r--sys/kern/uipc_mbuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 4d005f58054..0123f0cee0d 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.123 2009/08/09 11:40:58 deraadt Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.124 2009/08/09 12:24:40 deraadt Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -449,7 +449,6 @@ m_free(struct mbuf *m)
m_tag_delete_chain(m);
if (m->m_flags & M_EXT)
m_extfree(m);
- m->m_flags = 0;
n = m->m_next;
pool_put(&mbpool, m);
splx(s);