]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: usbip: remove double giveback of URB
authorMárton Németh <nm127@freemail.hu>
Mon, 13 Dec 2010 20:59:09 +0000 (21:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:46:36 +0000 (14:46 -0800)
commit2ffaca128dfd5a2de661b85d7d3cc045e24a2540
tree5e005403ae8b9ad24a99c5d93b7a86fd471ed3a9
parentd77cf23f1befd3922d81b91cb01fd3da619e0206
staging: usbip: remove double giveback of URB

commit 7571f089d7522a95c103558faf313c7af8856ceb upstream.

In the vhci_urb_dequeue() function the TCP connection is checked twice.
Each time when the TCP connection is closed the URB is unlinked and given
back. Remove the second attempt of unlinking and giving back of the URB completely.

This patch fixes the bug described at https://bugzilla.kernel.org/show_bug.cgi?id=24872 .

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_hcd.c