Re: PATCH: (as279) Don't delete interfaces until all are unbound

From: Nuno Ferreira
Date: Sat May 15 2004 - 10:52:32 EST


On Qui, 2004-05-13 at 13:56 -0400, Alan Stern wrote:
> On Thu, 13 May 2004, Duncan Sands wrote:
>
> > No, but the pointer for another (previous) interface may just have been
> > set to NULL, causing an Oops when usb_ifnum_to_if loops over all
> > interfaces.
>
> Of course! I trust you won't mind me changing your suggested fix
> slightly. This should do an equally good job of repairing things, and it
> will prevent other possible invalid references as well.

OK, I've now tested the patch ant it appears to work, I removed the USB
modem several times and not a single Oops to report.

Great work, thanks

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/