]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] isdn/gigaset: fix possible missing wakeup
authorTilman Schmidt <tilman@imap.cc>
Wed, 13 Dec 2006 08:33:52 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:47 +0000 (09:05 -0800)
commit38865ebaa5f562af5497bcdb84c92d3828131f7a
tree7e16bd15b0e4d87809024302df9c4a1d65a2d832
parent67d24b85205bc38e1fa23daf78b0cbb5707a11cf
[PATCH] isdn/gigaset: fix possible missing wakeup

Eliminate some possibilities for user processes writing to the Gigaset
character device to be left sleeping indefinitely, by adding wakeup calls
to error paths and properly disposing of pending write requests when the
device is disconnected.

It also removes unnecessary NULL checks before usb_free_urb() and
usb_kill_urb() calls.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/gigaset/bas-gigaset.c