commit | 4bd43f2c31848d751f63e8753cd2788d48fb5f30 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@redhat.com> | Fri Jan 02 13:44:04 2009 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jan 02 10:19:37 2009 -0800 |
tree | f88e890bbee89421271437761024130e0c831853 | |
parent | 7e94b1d9bffc18dca3b45554d9d118a3ffcc4d1b [diff] |
tty: Fix close races in USB serial USB serial has always had races where the tty port usage count can hit zero during a receive event. The internal locking is a mutex so we can't use that in the IRQ handlers. With krefs we can tackle this differently but we still need to be careful. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>