Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/kern Pull up revision 1.51 (requested by itojun):



details:   https://anonhg.NetBSD.org/src/rev/581cb7dc2e87
branches:  netbsd-1-5
changeset: 490653:581cb7dc2e87
user:      he <he%NetBSD.org@localhost>
date:      Sun Feb 04 19:18:12 2001 +0000

description:
Pull up revision 1.51 (requested by itojun):
  Make sure every m_aux will be freed.

diffstat:

 sys/kern/uipc_mbuf.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r 15ddeefeeefd -r 581cb7dc2e87 sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c      Sun Feb 04 19:17:51 2001 +0000
+++ b/sys/kern/uipc_mbuf.c      Sun Feb 04 19:18:12 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_mbuf.c,v 1.45.4.1 2000/08/19 07:55:31 itojun Exp $        */
+/*     $NetBSD: uipc_mbuf.c,v 1.45.4.2 2001/02/04 19:18:12 he Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -350,10 +350,6 @@
 
        if (m == NULL)
                return;
-       if ((m->m_flags & M_PKTHDR) != 0 && m->m_pkthdr.aux) {
-               m_freem(m->m_pkthdr.aux);
-               m->m_pkthdr.aux = NULL;
-       }
        do {
                MFREE(m, n);
                m = n;



Home | Main Index | Thread Index | Old Index