[PATCH] usbip: remove double giveback of URB

Greg KH gregkh at suse.de
Mon Dec 13 21:19:09 UTC 2010


On Mon, Dec 13, 2010 at 09:59:09PM +0100, Németh Márton wrote:
> From: Márton Németh <nm127 at freemail.hu>
> 
> 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 at freemail.hu>

Wow, nice catch, I wonder how it survived this long in working condition
:)

I'll queue this up right away, thanks so much for this patch.

greg k-h



More information about the devel mailing list