Source-Changes-HG archive

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

[src/trunk]: src/sys/net need to use m_freem(), not m_free(). from iij seil ...



details:   https://anonhg.NetBSD.org/src/rev/9eca1b6789fb
branches:  trunk
changeset: 552753:9eca1b6789fb
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Oct 02 07:13:57 2003 +0000

description:
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 b741b55a1ad5 -r 9eca1b6789fb sys/net/if_vlan.c
--- a/sys/net/if_vlan.c Thu Oct 02 07:07:48 2003 +0000
+++ b/sys/net/if_vlan.c Thu Oct 02 07:13:57 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vlan.c,v 1.36 2003/09/09 14:22:19 drochner Exp $    */
+/*     $NetBSD: if_vlan.c,v 1.37 2003/10/02 07:13:57 itojun 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.36 2003/09/09 14:22:19 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.37 2003/10/02 07:13:57 itojun Exp $");
 
 #include "opt_inet.h"
 #include "bpfilter.h"
@@ -883,7 +883,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