Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Use M_IFMADDR instead of M_IPMADDR. From John Fr...



details:   https://anonhg.NetBSD.org/src/rev/d19fab4e160c
branches:  trunk
changeset: 532768:d19fab4e160c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jun 14 15:21:45 2002 +0000

description:
Use M_IFMADDR instead of M_IPMADDR.  From John Franklin, kern/16251.

diffstat:

 sys/dev/ic/i82586.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 164890dfea50 -r d19fab4e160c sys/dev/ic/i82586.c
--- a/sys/dev/ic/i82586.c       Fri Jun 14 15:16:53 2002 +0000
+++ b/sys/dev/ic/i82586.c       Fri Jun 14 15:21:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82586.c,v 1.42 2001/11/26 23:30:59 fredette Exp $     */
+/*     $NetBSD: i82586.c,v 1.43 2002/06/14 15:21:45 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -144,12 +144,12 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.42 2001/11/26 23:30:59 fredette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.43 2002/06/14 15:21:45 thorpej Exp $");
 
 #include "bpfilter.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.42 2001/11/26 23:30:59 fredette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.43 2002/06/14 15:21:45 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1847,9 +1847,9 @@
        if (size > sc->mcast_addrs_size) {
                /* Need to allocate more space */
                if (sc->mcast_addrs_size)
-                       free(sc->mcast_addrs, M_IPMADDR);
+                       free(sc->mcast_addrs, M_IFMADDR);
                sc->mcast_addrs = (char *)
-                       malloc(size, M_IPMADDR, M_WAITOK);
+                       malloc(size, M_IFMADDR, M_WAITOK);
                sc->mcast_addrs_size = size;
        }
 



Home | Main Index | Thread Index | Old Index