Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/net Pull up revision 1.37 (requested by itojun in t...



details:   https://anonhg.NetBSD.org/src/rev/8e754a601c4d
branches:  netbsd-1-6
changeset: 530790:8e754a601c4d
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Oct 02 10:42:39 2003 +0000

description:
Pull up revision 1.37 (requested by itojun in ticket #1499):
need to use m_freem(), not m_free().  from iij seil team

diffstat:

 sys/net/if_vlan.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 244827b5b5ae -r 8e754a601c4d sys/net/if_vlan.c
--- a/sys/net/if_vlan.c Thu Oct 02 10:04:52 2003 +0000
+++ b/sys/net/if_vlan.c Thu Oct 02 10:42:39 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vlan.c,v 1.33 2001/11/12 23:49:45 lukem Exp $       */
+/*     $NetBSD: if_vlan.c,v 1.33.10.1 2003/10/02 10:42:39 tron Exp $   */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.33 2001/11/12 23:49:45 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.33.10.1 2003/10/02 10:42:39 tron Exp $");
 
 #include "opt_inet.h"
 #include "bpfilter.h"
@@ -881,7 +881,7 @@
        if (ifv == NULL ||
            (ifv->ifv_if.if_flags & (IFF_UP|IFF_RUNNING)) !=
             (IFF_UP|IFF_RUNNING)) {
-               m_free(m);
+               m_freem(m);
                ifp->if_noproto++;
                return;
        }



Home | Main Index | Thread Index | Old Index