Files
android_kernel_xiaomi_sm8450/drivers/usb/serial
Jiri Slaby 054f2346cb tty: USB: serial/mct_u232, fix tty refcnt
Stanse found a tty refcnt leak in read_int_callback. In fact
it's handled wrong altogether. tty_port_tty_get can return NULL
and it's not checked in that manner.

Fix that by checking the tty_port_tty_get retval and put tty kref
properly.

http://stanse.fi.muni.cz/

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-19 13:13:37 -07:00
..
2009-09-19 13:13:33 -07:00
2008-07-22 13:03:22 -07:00
2009-09-19 13:13:33 -07:00
2008-07-22 13:03:23 -07:00
2009-09-19 13:13:33 -07:00
2008-07-22 13:03:23 -07:00
2009-09-19 13:13:33 -07:00
2008-02-01 14:34:47 -08:00
2009-09-19 13:13:33 -07:00
2009-09-19 13:13:33 -07:00
2009-04-17 10:50:24 -07:00
2009-09-19 13:13:33 -07:00
2009-09-19 13:13:33 -07:00
2007-08-22 14:27:43 -07:00
2009-09-19 13:13:33 -07:00
2008-07-22 13:03:22 -07:00