From: Alan Cox Date: Fri, 2 Jan 2009 13:47:39 +0000 (+0000) Subject: hso: net driver using tty without locking X-Git-Tag: v2.6.29-rc1~545^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e136e3036bf27569dbfeae245cc09c7167cdc749;p=pandora-kernel.git hso: net driver using tty without locking Checking tty == NULL doesn't help us unless we have a clear semantic for the locking of the tty object in the driver. Use the tty kref objects so that we can take references to the tty in the USB event handling paths. Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed