linux_dsm_epyc7002/drivers/usb/usbip
Ye Bin 99d2fa2daf usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
[ Upstream commit 1d08ed588c6a85a35a24c82eb4cf0807ec2b366a ]

Add the missing unlock before return from function usbip_sockfd_store()
in the error handling case.

Fixes: bd8b82042269 ("usbip: vudc synchronize sysfs code paths")
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Link: https://lore.kernel.org/r/20210408112305.1022247-1-yebin10@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:19 +02:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
stub_dev.c usbip: stub-dev synchronize sysfs code paths 2021-04-14 08:42:03 +02:00
stub_main.c usbip: Implement SG support to vhci-hcd and stub driver 2019-09-03 16:00:38 +02:00
stub_rx.c usbip: Use fallthrough pseudo-keyword 2020-07-09 18:06:35 +02:00
stub_tx.c usbip: clean up an indentation issue 2019-10-04 14:09:42 +02:00
stub.h usbip: Implement SG support to vhci-hcd and stub driver 2019-09-03 16:00:38 +02:00
usbip_common.c usbip: simplify the return expression of usbip_core_init() 2020-09-16 10:54:49 +02:00
usbip_common.h usbip: add sysfs_lock to synchronize sysfs code paths 2021-04-14 08:42:03 +02:00
usbip_event.c usbip: synchronize event handler with sysfs code paths 2021-04-14 08:42:03 +02:00
vhci_hcd.c usbip: add sysfs_lock to synchronize sysfs code paths 2021-04-14 08:42:03 +02:00
vhci_rx.c usbip: Use fallthrough pseudo-keyword 2020-07-09 18:06:35 +02:00
vhci_sysfs.c usbip: add sysfs_lock to synchronize sysfs code paths 2021-04-14 08:42:03 +02:00
vhci_tx.c usbip: Fix free of unallocated memory in vhci tx 2019-10-28 17:51:06 +01:00
vhci.h
vudc_dev.c usbip: vudc synchronize sysfs code paths 2021-04-14 08:42:03 +02:00
vudc_main.c USB: usbip: convert platform driver to use dev_groups 2019-08-06 09:40:47 +02:00
vudc_rx.c
vudc_sysfs.c usbip: vudc: fix missing unlock on error in usbip_sockfd_store() 2021-05-14 09:50:19 +02:00
vudc_transfer.c usbip: Use fallthrough pseudo-keyword 2020-07-09 18:06:35 +02:00
vudc_tx.c
vudc.h USB: usbip: convert platform driver to use dev_groups 2019-08-06 09:40:47 +02:00