Re: zones in NKEs
Re: zones in NKEs
- Subject: Re: zones in NKEs
- From: Michael Tuexen <email@hidden>
- Date: Tue, 28 Mar 2006 10:09:01 +0200
Hi Chris,
see my comments in-line.
Best regards
Michael
On Mar 28, 2006, at 12:20 AM, Chris Sarcone wrote:
Michael --
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.
I would assume that's because you provide a string to zinit and it
doesn't copy it locally. When host_zone_info() is called, it strncpy
()'s the zn_name and kerblammo because your NKE is now gone. You
could file a Radar for it to do the local copy. However, you
probably want to be able to unload and when you load
You are correct. I'll file a bug report.
again, not create another zone, but re-use the same zone. That
might require more work to the zone allocator. Feel free to write
some bugs up on whatever else you need too...
Yes, reusing it would be fine. I'll report that too.
-- 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