Files
twx-linux/drivers
Aditya Pakki f61b68e1c7 md: Fix failed allocation of md_register_thread
commit e406f12dde upstream.

mddev->sync_thread can be set to NULL on kzalloc failure downstream.
The patch checks for such a scenario and frees allocated resources.

Committer node:

Added similar fix to raid5.c, as suggested by Guoqing.

Cc: stable@vger.kernel.org # v3.16+
Acked-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-23 13:19:53 +01:00
..
2019-02-12 19:44:54 +01:00
2019-02-12 19:44:58 +01:00
2019-03-23 13:19:50 +01:00
2019-03-23 13:19:50 +01:00
2018-12-21 14:11:37 +01:00
2018-12-21 14:11:36 +01:00
2018-11-13 11:17:02 -08:00
2018-11-27 16:09:41 +01:00
2019-03-13 14:04:59 -07:00
2018-10-03 17:01:42 -07:00