diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-09-19 13:13:12 -0700 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 13:13:12 -0700 |
commit | d13549f804d2965a9f279a8ff867f35d949572c8 (patch) | |
tree | f7e1a6781fe38ffe845e0cfe104e56a0efa309bb /Documentation/irqflags-tracing.txt | |
parent | 1607acaec38319c5e0b48a3586c00e667e920a0d (diff) |
cyclades: add tty refcounting
While this is not problem for Y card handlers (they are protected
by card_lock), Z handlers and other functions may dereference NULL
at any point after hangup/close. Even if (tty == NULL) was already
performed in the handler.
Note that it's not an issue for Y cards just for now. After
switching to tty_port_close_* et al. this will be a problem. So
add refcounting to them all.
Also proc .show doesn't take a tty reference and it should (along
with a ldisc one).
While at it and changing prototypes (adding tty param), prepend
cy_ to functions which don't have it yet.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/irqflags-tracing.txt')
0 files changed, 0 insertions, 0 deletions