Subject: Re: Cardbus
To: Warner Losh <imp@village.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 01/13/2000 17:05:03
On Mon, 27 Dec 1999 23:15:37 -0700 
 Warner Losh <imp@village.org> wrote:

 > Not directly.  It just goes through the normal shutdown of the device
 > which seems to get rid of the dangling pointers, but I only have
 > negative evidence for that (eg the machine doesn't crash).  I've not
 > had time to do a code review/grep to see if there are problems lurking
 > under the hood.

It does not get rid of m->pkthdr.rcvif pointers to the ifnet structure
which was a part of the softc just freed.  If those are referenced
for any reason, you're pooched.  You're probably just getting lucky.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>