Joe Lawrence
ef8daf8eeb
livepatch: unpatch all klp_objects if klp_module_coming fails
...
When an incoming module is considered for livepatching by
klp_module_coming(), it iterates over multiple patches and multiple
kernel objects in this order:
list_for_each_entry(patch, &klp_patches, list) {
klp_for_each_object(patch, obj) {
which means that if one of the kernel objects fails to patch,
klp_module_coming()'s error path needs to unpatch and cleanup any kernel
objects that were already patched by a previous patch.
Reported-by: Miroslav Benes <mbenes@suse.cz>
Suggested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-10-11 15:38:46 +02:00
..
2017-05-25 13:44:28 -04:00
2017-05-24 12:43:30 -04:00
2017-02-27 18:43:46 -08:00
2017-03-02 08:42:34 +01:00
2017-06-08 10:11:50 +02:00
2017-05-12 15:57:15 -07:00
2017-06-13 00:40:39 +02:00
2017-10-11 15:38:46 +02:00
2017-05-22 21:57:18 +02:00
2017-06-09 01:25:16 +02:00
2017-06-08 10:50:04 -07:00
2017-06-08 08:25:19 -07:00
2017-06-18 18:45:17 +09:00
2017-06-12 18:56:01 +02:00
2017-05-26 22:35:48 -04:00
2015-10-21 15:18:35 +01:00
2017-03-02 08:42:39 +01:00
2015-11-19 17:51:48 +01:00
2017-05-03 11:05:15 -07:00
2017-05-03 11:05:15 -07:00
2017-05-03 11:05:15 -07:00
2017-05-03 09:21:59 -07:00
2017-05-02 10:16:05 -04:00
2017-05-02 10:16:05 -04:00
2017-05-03 11:05:15 -07:00
2017-01-12 07:01:56 -07:00
2017-04-14 21:49:56 +02:00
2016-12-24 11:46:01 -08:00
2015-11-24 09:56:43 +01:00
2015-09-03 02:42:20 +02:00
2017-06-03 09:35:04 +02:00
2017-05-08 17:15:11 -07:00
2017-03-02 08:42:28 +01:00
2017-03-02 08:42:39 +01:00
2017-03-09 17:01:09 -08:00
2017-02-22 10:15:09 -08:00
2017-05-27 08:52:27 -07:00
2016-07-28 16:07:41 -07:00
2016-12-24 11:46:01 -08:00
2017-04-15 16:03:46 +02:00
2017-05-08 17:15:13 -07:00
2017-05-08 17:15:10 -07:00
2015-11-23 09:44:58 +01:00
2017-02-27 13:26:17 -08:00
2017-02-17 13:40:05 -05:00
2016-01-20 17:09:18 -08:00
2016-10-25 11:31:51 +02:00
2017-05-08 17:15:12 -07:00
2017-05-08 17:15:11 -07:00
2017-03-10 20:55:09 +01:00
2017-03-10 20:55:09 +01:00
2016-08-02 19:35:27 -04:00
2017-03-02 08:42:39 +01:00
2017-05-26 22:37:00 -04:00
2017-05-08 17:15:11 -07:00
2017-03-17 10:18:47 -04:00
2017-03-02 08:42:39 +01:00
2017-05-08 17:15:11 -07:00
2017-01-23 11:32:16 -08:00
2017-05-01 09:15:53 +02:00
2016-04-11 22:43:43 +01:00
2017-05-08 17:15:14 -07:00
2017-02-24 17:46:56 -08:00
2017-03-13 15:57:41 -03:00
2017-04-21 20:30:46 +08:00
2017-03-02 08:42:34 +01:00
2017-04-18 10:37:13 +02:00
2017-05-13 17:26:01 -05:00
2017-05-08 17:15:12 -07:00
2017-03-02 08:42:39 +01:00
2017-05-23 07:40:44 -05:00
2015-09-10 13:29:01 -07:00
2017-05-02 11:38:06 -07:00
2016-04-14 12:56:09 -07:00
2017-03-02 08:42:36 +01:00
2017-05-10 10:30:46 -07:00
2017-03-02 08:42:26 +01:00
2017-03-02 08:42:35 +01:00
2016-03-01 20:36:56 +01:00
2017-04-11 09:06:32 +02:00
2017-03-08 09:18:02 +01:00
2016-11-16 10:15:09 +01:00
2016-12-22 22:58:37 -05:00
2017-05-05 11:08:43 -07:00
2017-04-21 15:59:52 -04:00
2017-05-08 17:15:10 -07:00
2016-08-02 19:35:02 -04:00
2017-05-08 17:15:12 -07:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:35 +01:00
2017-03-02 08:42:39 +01:00
2017-03-06 15:26:37 -06:00
2017-03-02 08:42:31 +01:00
2016-09-05 13:52:39 +02:00
2017-03-02 08:42:29 +01:00
2017-03-02 08:42:29 +01:00
2017-03-03 01:45:36 +01:00
2017-03-02 08:42:38 +01:00
2017-03-02 08:42:34 +01:00
2017-03-02 08:42:34 +01:00
2016-03-02 10:28:47 -05:00
2017-05-01 19:12:53 -07:00