commit | a1287ba1ba810aae1f8b81e32560d5d3bf3ff9f0 | [log] [tgz] |
---|---|---|
author | Michal Ostrowski <mostrows@watson.ibm.com> | Fri Jul 15 03:56:33 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jul 15 09:54:51 2005 -0700 |
tree | c16aef43738ee0bf32e3514065ad394d04980900 | |
parent | 6f97933d0fd13920d7d53b6e0107bb674b3a1f0b [diff] |
[PATCH] rocket.c: Fix ldisc ref count handling If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count and causes release_dev() to hang since it can't get the ref count to 0. Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>