diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 11:35:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 22:50:24 (GMT) |
commit | 62f228acb807c370c3b1583bf0f1aa4ab8e19aca (patch) | |
tree | 770750aa0c324f286582d6317aa2d41d5e2cc122 /include/net/irda/ircomm_tty.h | |
parent | e673927d8a210ab1db27047080fc1bdb47f7e372 (diff) | |
download | linux-62f228acb807c370c3b1583bf0f1aa4ab8e19aca.tar.xz |
TTY: ircomm, use tty from tty_port
This also includes a switch to tty refcounting. It makes sure, the
code no longer can access a freed TTY struct.
Sometimes the only thing needed is to pass tty down to the callies.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Samuel Ortiz <samuel@sortiz.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/irda/ircomm_tty.h')
-rw-r--r-- | include/net/irda/ircomm_tty.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h index a9027d8..80ffde3 100644 --- a/include/net/irda/ircomm_tty.h +++ b/include/net/irda/ircomm_tty.h @@ -62,7 +62,6 @@ struct ircomm_tty_cb { int state; /* Connect state */ - struct tty_struct *tty; struct ircomm_cb *ircomm; /* IrCOMM layer instance */ struct sk_buff *tx_skb; /* Transmit buffer */ |