The detach_port() doesn't return error
when detach is attempted on an invalid port.
Fixes: 40ecdeb1a187 ("usbip: usbip_detach: fix to check for invalid ports")
Cc: stable@vger.kernel.org
Reviewed-by: Hongren Zheng <i@zenithal.me>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Zongmin Zhou <zhouzongmin@kylinos.cn>
Link: https://lore.kernel.org/r/20241024022700.1236660-1-min_halo@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| usbip_attach.c | ||
| usbip_bind.c | ||
| usbip_detach.c | ||
| usbip_list.c | ||
| usbip_network.c | ||
| usbip_network.h | ||
| usbip_port.c | ||
| usbip_unbind.c | ||
| usbip.c | ||
| usbip.h | ||
| usbipd.c | ||
| utils.c | ||
| utils.h | ||