commit | e136e3036bf27569dbfeae245cc09c7167cdc749 | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@redhat.com> | Fri Jan 02 13:47:39 2009 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jan 02 10:19:41 2009 -0800 |
tree | 106be43f343a4fce34076781df05af0d32e2799a | |
parent | 33dd474ae712dc435eb586b44cb771cc8d24e2bd [diff] |
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 <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>