Fork of alistair23 Linux kernel for reMarkable from https://github.com/alistair23/linux
Go to file
Rui Miguel Silva 9d4bb6c918 greybus: uart: fix double free of tty port
When inserting and removing a module with a UART protocol defined a
double free of the tty_port would happen and that would generate a lot
of kernel oops in different places related to memory corruption.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2016-02-05 16:43:41 -08:00
drivers/staging/greybus greybus: uart: fix double free of tty port 2016-02-05 16:43:41 -08:00