Re: [PATCH] usbip: remove double giveback of URB

From: Greg KH
Date: Mon Dec 13 2010 - 16:34:50 EST


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

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/