TTY: ircomm, use tty from tty_port
authorJiri Slaby <jslaby@suse.cz>
Mon, 4 Jun 2012 11:35:21 +0000 (13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 22:50:24 +0000 (15:50 -0700)
commit62f228acb807c370c3b1583bf0f1aa4ab8e19aca
tree770750aa0c324f286582d6317aa2d41d5e2cc122
parente673927d8a210ab1db27047080fc1bdb47f7e372
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>
include/net/irda/ircomm_tty.h
net/irda/ircomm/ircomm_param.c
net/irda/ircomm/ircomm_tty.c
net/irda/ircomm/ircomm_tty_attach.c
net/irda/ircomm/ircomm_tty_ioctl.c
This page took 0.026853 seconds and 5 git commands to generate.