Subject: kern/25441: IP-Filter uses M_TEMP when it already has M_IPFILTER
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 05/03/2004 10:15:14
>Number:         25441
>Category:       kern
>Synopsis:       IP-Filter uses M_TEMP when it already has M_IPFILTER
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 03 00:16:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     matthew green
>Release:        NetBSD 2.0E
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
	any.
>Description:

	ip_compat.h will use M_PFIL or M_TEMP when allocating ram under netbsd.
	ip_fil_netbsd.c defines a M_IPFITLER malloc type.

>How-To-Repeat:

	wonder why i have nearly 10MB of M_TEMP allocations.  notice i have far
	too many ipnat entries (separate issue), followed by code inspection.

>Fix:

	use M_IPFILTER for netbsd that has it.
>Release-Note:
>Audit-Trail:
>Unformatted: