]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hso: fix oops in read/write callbacks
authorOlivier Blin <blino@mandriva.com>
Fri, 8 Aug 2008 19:01:11 +0000 (12:01 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 14 Aug 2008 08:43:45 +0000 (04:43 -0400)
commitadd477df674db00377d9a4dc0d9b553ce79bc06d
tree6b52bedf8a3c17ddb8259b717b68e6b6f759be2b
parent1595ab5d7d99bc6c9a5548ab3fb83e278eeae409
hso: fix oops in read/write callbacks

The tty may be closed already when the read/write callbacks are called.
This patch checks that the ttys still exist before waking them up.

Signed-off-by: Olivier Blin <blino@mandriva.com>
Acked-by: Alan Cox <alan@redhat.com>
Cc: Jari Tenhunen <jari.tenhunen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/usb/hso.c