]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:14 +0000 (12:46 -0400)
commitf73f1b86b31c341d054a7e513b25a4c978d4674f
tree4efe02f0bed99353efd6a1a0daaede22e9101a08
parent4af3051b26124834deea42b25a2543c5034031f1
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/staging/usbip/vhci_hcd.c