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

From: Nuno Ferreira
Date: Fri May 14 2004 - 05:25:59 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.

I've been out of town so I could not test this patch yet. I'll try it
later tonight and let you know if it's fixed.

Thanks
--
Nuno Ferreira

-
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/