]> err.no Git - linux-2.6/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)
commit39f07223d400330b9e08aae4c77a391f2418023e
tree7e16bd15b0e4d87809024302df9c4a1d65a2d832
parenteff3b634d9a0cccb6ca8b431819fa415f10804dc
[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