Date: Mon, 27 Jan 1997 16:16:24 -0800 From: Julian Elischer <julian@whistle.com> To: hackers@freebsd.org Subject: Network interfaces: removal of. Message-ID: <32ED4558.446B9B3D@whistle.com>
next in thread | raw e-mail | index | archive | help
I have a system with frame relay interfaces, and virtual circuits are reflected by virtual 'interfaces' e.g vc0, vc2 etc. the trouble is that there is no support in the kernel for REMOVING an interface! does anyone have any ideas on this? removal of an interface requires that the interface addresses be freed. this in turn requires that any routes that access that ifa (e.g in a TCP pcb) discover that it is invalid the next time they try use it, and try get a new rtentry/ifa. None of this happens at the moment. Add to that the fact that the linked list of interfaces has no support for removing entries, and that the interface array has no support for re-using entries. The reference counting on rtentries and IFAs is next to useless as so many places don't use them rigorously, which requires hacks to keep them allingned with anything even close to reality.. Is there anyone in the group who feels as though they understand the situation well enough to work with me in trying to clean this up a bit? I have the interest in doing it, but I need someone to guide me a bit as the routing table system still confuses me on a regular basis. julian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32ED4558.446B9B3D>