USB: usbip: missing lock in stub down
authorJose Ignacio Tornos Martinez <jtornosm@redhat.com>
Mon, 3 Oct 2022 09:10:16 +0000 (11:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Oct 2022 11:22:25 +0000 (13:22 +0200)
commit9b6447e04bc2a4d06f2ef74a583848c573a25dbc
treef2236497a7aec10596acb58896446681693aac3f
parent61dd457c0188c0deef68c2b919c0a2defe5db388
USB: usbip: missing lock in stub down

Missing lock in sysfs operation when we want to close the connection in order
to check the status and send the down event in a safe way.

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20221003091016.641900-1-jtornosm@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/stub_dev.c