projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d5a05d
)
isicom: isicom kref leak fix
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Mon, 6 Apr 2009 16:33:55 +0000
(17:33 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 6 Apr 2009 21:36:33 +0000
(14:36 -0700)
The isicom driver leaks a kref on the shutdown path. Drop the additional
kref we took
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/isicom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/isicom.c
b/drivers/char/isicom.c
index 24aa6e88e223d5772649182d878342224749c3c1..a59eac584d1621b3e4824ca3e644d944a31266a6 100644
(file)
--- a/
drivers/char/isicom.c
+++ b/
drivers/char/isicom.c
@@
-925,6
+925,7
@@
static void isicom_shutdown_port(struct isi_port *port)
if (!card->count)
isicom_shutdown_board(card);
}
+ tty_kref_put(tty);
}
static void isicom_flush_buffer(struct tty_struct *tty)