Jiri Slaby
a9dccddb60
TTY: plug in deinitialize_tty_struct
...
Used the newly introduced deinitialize_tty_struct to properly shut
down ldisc.
It is intended to fix the Julian's reported problem. He reports that
kmemleak checker warns about memory leak:
unreferenced object 0xc0e19860 (size 8):
comm cat, pid 1226, jiffies 4294919464 (age 287.476s)
hex dump (first 8 bytes):
44 de 2d c1 01 00 00 00 D.-.....
backtrace:
[<c1065a74>] create_object+0x109/0x1ad
[<c1063d2b>] kmem_cache_alloc+0x60/0x68
[<c113505c>] tty_ldisc_get+0x54/0x76
[<c11358c9>] tty_ldisc_init+0xa/0x20
[<c1130ab4>] initialize_tty_struct+0x2d/0x1ac
[<c1130c8c>] tty_init_dev+0x59/0x10d
[<c113136d>] tty_open+0x24a/0x3a2
...
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Reported-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-19 14:43:01 -07:00
..
2011-03-31 11:26:23 -03:00
2011-04-11 22:54:42 +02:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 17:18:05 -07:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-30 17:14:33 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:12 -07:00
2011-04-11 15:44:38 -07:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:15 -07:00
2011-04-11 15:44:38 -07:00
2011-04-13 09:20:24 +10:00
2011-04-07 11:14:49 -07:00
2011-04-07 11:14:49 -07:00
2011-03-18 17:15:11 -07:00
2011-04-17 10:20:19 +02:00
2011-04-07 11:14:49 -07:00
2011-03-17 14:05:34 +01:00
2011-03-31 11:26:23 -03:00
2011-04-18 13:29:03 -07:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:54 -07:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-04-18 18:25:43 +10:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 11:13:00 +02:00
2011-04-14 16:06:55 -07:00
2011-03-31 11:26:23 -03:00
2011-04-09 13:23:50 -07:00
2011-04-11 07:27:24 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-11 22:54:42 +02:00
2011-04-13 09:30:40 +08:00
2011-04-13 09:15:55 -07:00
2011-03-31 11:26:23 -03:00
2011-03-29 14:48:19 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:56 -07:00
2011-03-31 11:26:23 -03:00
2011-04-16 09:45:08 -07:00
2011-04-08 07:36:14 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 11:41:33 +02:00
2011-03-31 11:26:23 -03:00
2011-03-30 00:15:49 +02:00
2011-04-11 15:44:38 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 15:24:23 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-02 19:47:57 -05:00
2011-04-19 14:43:01 -07:00
2011-03-31 11:26:23 -03:00
2011-04-14 13:37:07 -07:00
2011-03-31 11:26:23 -03:00
2011-03-13 23:08:19 +02:00
2011-04-12 23:07:42 +08:00
2011-03-28 19:33:04 +02:00
2011-03-31 11:26:23 -03:00
2011-04-07 20:20:24 +00:00
2011-04-12 17:18:05 -07:00