Fixes a missed tty_kref_put which is caused the driver to fail to unloading when rmmoded if the hso serial port ever gets throttled. Signed-off-by: Denis Joseph Barrow --- Index: linux-2.6/drivers/net/usb/hso.c =================================================================== --- linux-2.6.orig/drivers/net/usb/hso.c 2009-01-15 12:45:09.000000000 +0100 +++ linux-2.6/drivers/net/usb/hso.c 2009-01-15 12:46:18.000000000 +0100 @@ -2040,8 +2040,10 @@ serial->curr_rx_urb_offset; D1("data to push to tty"); while (write_length_remaining) { - if (test_bit(TTY_THROTTLED, &tty->flags)) + if (test_bit(TTY_THROTTLED, &tty->flags)) { + tty_kref_put(tty); return -1; + } curr_write_len = tty_insert_flip_string (tty, urb->transfer_buffer + serial->curr_rx_urb_offset,