The patch titled hso: fix oops in read/write callbacks has been removed from the -mm tree. Its filename was hso-fix-oops-in-read-write-callbacks.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: hso: fix oops in read/write callbacks From: Olivier Blin <blino@xxxxxxxxxxxx> 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@xxxxxxxxxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxx> Cc: Jari Tenhunen <jari.tenhunen@xxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/usb/hso.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN drivers/net/usb/hso.c~hso-fix-oops-in-read-write-callbacks drivers/net/usb/hso.c --- a/drivers/net/usb/hso.c~hso-fix-oops-in-read-write-callbacks +++ a/drivers/net/usb/hso.c @@ -1467,7 +1467,8 @@ static void hso_std_serial_write_bulk_ca return; } hso_put_activity(serial->parent); - tty_wakeup(serial->tty); + if (serial->tty) + tty_wakeup(serial->tty); hso_kick_transmit(serial); D1(" "); @@ -1538,7 +1539,8 @@ static void ctrl_callback(struct urb *ur clear_bit(HSO_SERIAL_FLAG_RX_SENT, &serial->flags); } else { hso_put_activity(serial->parent); - tty_wakeup(serial->tty); + if (serial->tty) + tty_wakeup(serial->tty); /* response to a write command */ hso_kick_transmit(serial); } _ Patches currently in -mm which might be from blino@xxxxxxxxxxxx are linux-next.patch git-unionfs.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html