From 3ff67445750a84de67faaf52c6e1895cb09f2c56 Mon Sep 17 00:00:00 2001 From: Alexey Khoroshilov Date: Sat, 29 Nov 2014 01:29:10 +0300 Subject: [PATCH] usbip: fix error handling in stub_probe() If usb_hub_claim_port() fails, no resources are deallocated and if stub_add_files() fails, port is not released. The patch fixes these issues and rearranges error handling code. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Valentina Manea Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed