[openbeosnetteam] Re: detaching ifnet in netstack
- From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Wed, 26 Nov 2003 01:07:40 GMT
> > network/core/if.c::if_detach(ifnet * if);
> > I'm not sure it's not buggy, and I *know* it's not MT-safe. Anyway,
> > should remove the "if" interface from
> > stack interface list.
>
> I think it was me who corrected the bug there, but this only removes
> the ifnet from the netstack. Does not core/in.c have its own IP address
management?
What happens if the ifnet structure disappears?
Simple : memory leak(s). :-(
Yet another thing to fix...
> Seems that I will have to try it and if it crashess, well... ;)
>
> There is another problem that I have with the netstack:
> How can I easily do a SIOCSIFADDR/SIOCSIFDSTADDR from the IPCP
> module? Just calling in_control() does not work. :(
> Do you know how to do it?
If in_control() don't do it fine, I really don't know what else will...
What's the issue you have with in_control() ?
> Uhm, I think around 70% could be finished now. Only the preflet and
> the serial modem module are left.
Okay, I've updated the task data according to your estimation.
- Philippe
--
Fortune Cookie Says:
When more and more people are thrown out of work, unemployment
results.
-- Calvin Coolidge
- Follow-Ups:
- [openbeosnetteam] Re: detaching ifnet in netstack
- From: Waldemar Kornewald
- References:
- [openbeosnetteam] Re: detaching ifnet in netstack
- From: Waldemar Kornewald
Other related posts:
- » [openbeosnetteam] detaching ifnet in netstack
- » [openbeosnetteam] Re: detaching ifnet in netstack
- » [openbeosnetteam] Re: detaching ifnet in netstack
- » [openbeosnetteam] Re: detaching ifnet in netstack
- » [openbeosnetteam] Re: detaching ifnet in netstack
- [openbeosnetteam] Re: detaching ifnet in netstack
- From: Waldemar Kornewald
- [openbeosnetteam] Re: detaching ifnet in netstack
- From: Waldemar Kornewald