• Kay Sievers's avatar
    [PATCH] usblp: usb_buffer_free() not called · a1a5d792
    Kay Sievers authored
    Here is the blind flight :-)
    ===
    drivers/usb/class/usblp.c
    usblp->dev was set to NULL to indicate a device disconnect but we need
    this value for usb_buffer_free() when device is still opened and cleanup
    is delayed until usblp_release().
    We have a usblp->present now for preventing device read, write, open and ioctl.
    a1a5d792
usblp.c 32.3 KB