]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usbip: usbip_host: fix to hold parent lock for device_attach() calls
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 5 Apr 2018 22:29:04 +0000 (16:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 12:45:11 +0000 (14:45 +0200)
commit4bfb141bc01312a817d36627cc47c93f801c216d
tree3d3008a697ac3ba0c857f82325be8ddc10add06b
parent9020a7efe537856eb3e826ebebdf38a5d07a7857
usbip: usbip_host: fix to hold parent lock for device_attach() calls

usbip_host calls device_attach() without holding dev->parent lock.
Fix it.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/stub_main.c