Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2011 06:02:21 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r220409 - stable/8/sys/netinet/ipfw
Message-ID:  <201104070602.p3762LLH030440@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Thu Apr  7 06:02:21 2011
New Revision: 220409
URL: http://svn.freebsd.org/changeset/base/220409

Log:
  MFC r220204:
    Fix malloc types.

Modified:
  stable/8/sys/netinet/ipfw/ip_dn_glue.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/netinet/ipfw/ip_dn_glue.c
==============================================================================
--- stable/8/sys/netinet/ipfw/ip_dn_glue.c	Thu Apr  7 06:01:09 2011	(r220408)
+++ stable/8/sys/netinet/ipfw/ip_dn_glue.c	Thu Apr  7 06:02:21 2011	(r220409)
@@ -807,7 +807,7 @@ ip_dummynet_compat(struct sockopt *sopt)
 		if (error)
 			break;
 		error = dn_compat_del(v);
-		free(v, M_DUMMYNET);
+		free(v, M_TEMP);
 		break;
 
 	case IP_DUMMYNET_CONFIGURE:
@@ -816,7 +816,7 @@ ip_dummynet_compat(struct sockopt *sopt)
 		if (error)
 			break;
 		error = dn_compat_configure(v);
-		free(v, M_DUMMYNET);
+		free(v, M_TEMP);
 		break;
 
 	case IP_DUMMYNET_GET: {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104070602.p3762LLH030440>