git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fb7f4f
)
tty: Fix USB kref leak
author
Alan Cox
<alan@redhat.com>
Thu, 30 Oct 2008 15:54:12 +0000
(15:54 +0000)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 30 Oct 2008 19:09:07 +0000
(12:09 -0700)
When we close we must clear the extra reference we got when we read
port->tty. Setting the port tty NULL will clear the kref held by the driver
but not the one we obtained ourselves while doing the lookup.
Signed-off-by: Alan Cox <alan@redhat.com>
Tested-by: Helge Hafting <helge.hafting@aitel.hist.no>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found