Subject: Re: if_delete * if_alloc
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 07/09/1997 10:28:19
On Wed, 9 Jul 1997 10:13:23 -0700 (PDT) 
 wrstuden@loki.stanford.edu (Bill Studenmund) wrote:

 > Would it be ok to postpone deleting the softc a bit? The idea would be to

Ah, sorry, you said "postpone" ... (Better drink my coffee!)

 > leave the ifnet in the ethercom, and add all the refcount stuff. When
 > the count gets to zero, an (*if_iffree) routine'd get called which'd
 > delete the ifnet, probably by deleting the softc it's within. The softc
 > could already have been unhooked from the config tree.

Anyhow, I don't like that idea so much... It seems much less correct to
me... But, I don't have the time or energy to get into an argument about
it, so...

Jason R. Thorpe                                       thorpej@nas.nasa.gov
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