]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
udlfb: fix hcd_buffer_free panic on unplug/replug
authorBernie Thompson <bernie@plugable.com>
Fri, 2 Mar 2012 01:35:48 +0000 (17:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2012 07:15:47 +0000 (15:15 +0800)
commitd9a6848be5cecc306fe5848047f1211fc11efeea
tree3c723a8a7f58e9175987eeb394fe3b180ea635a7
parent7b5853a08620d9565b1f03b36f1bc1c8e4768938
udlfb: fix hcd_buffer_free panic on unplug/replug

commit 8d21547d3c9c3bc653261f26d554cfabc4a083de upstream.

Fix race conditions with unplug/replug behavior, in particular
take care not to hold up USB probe/disconnect for long-running
framebuffer operations and rely on usb to handle teardown.

Fix for kernel panic reported with new F17 multiseat support.

Reported-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/udlfb.c
include/video/udlfb.h