]> git.baikalelectronics.ru Git - kernel.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>
Mon, 10 Jan 2011 20:26:02 +0000 (12:26 -0800)
commitda1630086a2ef8a7b86c3d16864c600bb4763ed9
tree9f90e63bdec0a2c87b465ea661f70afe9dbb9540
parente601bb7953e6de850cd21bd613e2391b48483404
staging: usbip: remove double giveback of URB

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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_hcd.c