Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/netinet Pull up revision 1.63 (requested by christo...



details:   https://anonhg.NetBSD.org/src/rev/47a1b1c194d2
branches:  netbsd-2-0
changeset: 561194:47a1b1c194d2
user:      tron <tron%NetBSD.org@localhost>
date:      Sun May 30 11:21:09 2004 +0000

description:
Pull up revision 1.63 (requested by christos in ticket #416):
Fix to update all references to mbuf.  Fixes case where mbuf is freed twice.

diffstat:

 sys/netinet/fil.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d85e91f150a8 -r 47a1b1c194d2 sys/netinet/fil.c
--- a/sys/netinet/fil.c Sun May 30 07:25:01 2004 +0000
+++ b/sys/netinet/fil.c Sun May 30 11:21:09 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fil.c,v 1.61.2.1 2004/04/02 14:00:46 tron Exp $        */
+/*     $NetBSD: fil.c,v 1.61.2.2 2004/05/30 11:21:09 tron Exp $        */
 
 /*
  * Copyright (C) 1993-2003 by Darren Reed.
@@ -135,7 +135,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.61.2.1 2004/04/02 14:00:46 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.61.2.2 2004/05/30 11:21:09 tron Exp $");
 #else
 static const char sccsid[] = "@(#)fil.c        1.36 6/5/96 (C) 1993-2000 Darren Reed";
 static const char rcsid[] = "@(#)Id: fil.c,v 2.243.2.7 2004/03/23 12:06:56 darrenr Exp";
@@ -5394,6 +5394,7 @@
 # else
                m = m_pullup(m, len);
                *fin->fin_mp = m;
+               fin->fin_m = m;
                if (m == NULL) {
                        ATOMIC_INCL(frstats[out].fr_pull[1]);
                        return NULL;



Home | Main Index | Thread Index | Old Index