commit | e0d786f7113bd1298699b7702232bded956bce4e | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Sun Jun 03 16:40:55 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 05 09:20:08 2018 +0200 |
tree | 22cba4bfc619d3d4ecdc26c3a2e5bb9280ae3e09 | |
parent | 01f0772ad0063fbf34ec04fbac2070937cc3ce06 [diff] |
udl-kms: change down_interruptible to down commit 8456b99c16d193c4c3b7df305cf431e027f0189c upstream. If we leave urbs around, it causes not only leak, but also memory corruption. This patch fixes the function udl_free_urb_list, so that it always waits for all urbs that are in progress. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>