From: Alan Cox Date: Fri, 2 Jan 2009 13:44:04 +0000 (+0000) Subject: tty: Fix close races in USB serial X-Git-Tag: v2.6.29-rc1~545^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd43f2c31848d751f63e8753cd2788d48fb5f30;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed