projects
/
linux-2.6-microblaze.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
|
history
diff --git
a/drivers/char/isicom.c
b/drivers/char/isicom.c
index
24aa6e8
..
a59eac5
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)