summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-08-09 12:24:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-08-09 12:24:41 +0000
commite6420e6ee41f6244637e7e5b5ef55bbe5acb9c50 (patch)
treebb9cdf87bce343b39d44621c69101238a5b774b5 /sys/kern
parente154450c91c69dcfe0eef882086df3c2fb7efb80 (diff)
do not clear a field before we pool_put it into oblivion; ok henning
Diffstat (limited to 'sys/kern')
-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);