Subject: Re: if_delete * if_alloc
To: Matt Thomas <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 07/08/1997 23:53:06
On Tue, 08 Jul 1997 21:47:00 -0400
Matt Thomas <email@example.com> wrote:
> I can see if_delete for slip/ppp/tun/* but not real ethernet hardware
> which will be known at boot time. (unless we want to LKM's.)
Not necessarily... c.f. pcmcia devices... hot swap in and hot swap out.
You want to be able to completely release everything at "pop out" time,
but just can't release ifnets until all of the pkthdr mbufs that reference
it are gone.
Jason R. Thorpe firstname.lastname@example.org
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939