diff options
| author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-04-30 16:17:19 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-26 08:48:51 +0200 |
| commit | fce529ec9971384bf0fe57b39ffc65226bc3a1a5 (patch) | |
| tree | d0319afbbf0abb7eb28403eee5d2e218f856a099 /drivers/usb/usbip/stub_dev.c | |
| parent | 39cfc006fb1378f92faf91b94844d33e4d819f91 (diff) | |
usbip: usbip_host: delete device from busid_table after rebind
commit 1e180f167d4e413afccbbb4a421b48b2de832549 upstream.
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.
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/stub_dev.c')
0 files changed, 0 insertions, 0 deletions
