Re: zones in NKEs
Re: zones in NKEs
- Subject: Re: zones in NKEs
- From: Michael Tuexen <email@hidden>
- Date: Tue, 28 Mar 2006 00:08:06 +0200
Chris,
we are providing the FreeBSD/KAME implementation of a transport
protocol (SCTP),
which uses zones, as an NKE. It is just that we want to use the same
code as much as
possible.
I figured out that it works, you can unload the NKE and load it
again, but after
unloading it, zprint crashes the machine.
Best regards
Michael
On Mar 27, 2006, at 11:56 PM, Chris Sarcone wrote:
Michael --
I'm using zones (allocated with zinit) in an NKE. How can I
deallocate them when
the NKE is unloaded?
Why are you using a zone? Are you just trying to keep track of the
memory you've allocated/deallocated? If so, you might want to use
OSMalloc (<libkern/OSMalloc.h>) which is the supported KPI.
HTH,
-- Chris
------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
email: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden