Re: [PATCH 2/3] usbip: usbip_host: delete device from busid_table after rebind

2018-04-22 Thread Greg KH
On Wed, Apr 11, 2018 at 06:13:31PM -0600, Shuah Khan wrote: > Device is left in the busid_table after unbind and rebind. Rebind > initiates usb bus scan and the original driver claims the device. > After rescan the device should be deleted from the busid_table as > it no longer belongs to usbip_hos

[PATCH 2/3] usbip: usbip_host: delete device from busid_table after rebind

2018-04-11 Thread Shuah Khan
Device is left in the busid_table after unbind and rebind. Rebind initiates usb bus scan and the original driver claims the device. After rescan the device should be deleted from the busid_table as it no longer belongs to usbip_host. Fix it to delete the device after device_attach() succeeds. Sig