• Alan Stern's avatar
    [PATCH] USB: Don't delete interfaces until all are unbound · 00ee59a3
    Alan Stern authored
    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.
    00ee59a3
usb.c 46.3 KB