Files
linux/tools
Hewenliang c5dab0a90d usbip: tools: fix fd leakage in the function of read_attr_usbip_status
commit 26a4d4c00f upstream.

We should close the fd before the return of read_attr_usbip_status.

Fixes: 3391ba0e27 ("usbip: tools: Extract generic code to be shared with vudc backend")
Signed-off-by: Hewenliang <hewenliang4@huawei.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191025043515.20053-1-hewenliang4@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 15:19:50 +09:00
..
2023-05-15 08:58:19 +09:00
2023-05-15 12:59:36 +09:00
2011-11-07 21:10:47 -05:00
2023-05-15 15:19:22 +09:00
2023-05-15 14:57:54 +09:00
2014-07-23 10:16:38 -07:00
2016-06-23 11:07:13 +02:00