Petr Mladek
e679af627f
livepatch: Cancel transition a safe way for immediate patches
...
klp_init_transition() does not set func->transition for immediate patches.
Then klp_ftrace_handler() could use the new code immediately. As a result,
it is not safe to put the livepatch module in klp_cancel_transition().
This patch reverts most of the last minute changes klp_cancel_transition().
It keeps the warning about a misuse because it still makes sense.
Fixes: 3ec24776bfd0 ("livepatch: allow removal of a disabled patch")
Signed-off-by: Petr Mladek <pmladek@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-04-11 20:54:27 +02:00
..
2017-03-04 17:31:39 -08:00
2017-03-03 01:45:39 +01:00
2017-02-27 18:43:46 -08:00
2017-03-02 08:42:34 +01:00
2017-03-02 08:42:36 +01:00
2016-07-15 14:54:27 +09:00
2017-03-02 08:42:40 +01:00
2017-04-11 20:54:27 +02:00
2017-03-02 08:42:35 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:36 +01:00
2017-03-02 08:42:34 +01:00
2017-03-08 09:36:21 +01:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:38 +01: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
2016-12-17 18:44:00 -08:00
2017-01-05 23:06:06 -08:00
2016-12-17 18:44:00 -08:00
2017-02-21 13:25:50 -08:00
2017-02-21 13:25:50 -08:00
2016-11-29 15:10:12 -05:00
2017-02-21 13:25:50 -08:00
2017-01-12 07:01:56 -07:00
2016-12-24 11:46:01 -08: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-03-02 08:42:35 +01:00
2017-03-02 08:42:28 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:39 +01:00
2017-02-22 10:15:09 -08:00
2017-03-08 09:36:21 +01:00
2016-07-28 16:07:41 -07:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:28 +01:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:34 +01: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
2016-12-20 09:48:47 -08:00
2017-02-22 17:33:34 -08:00
2016-12-20 09:48:44 -08:00
2016-11-30 23:14:57 +11:00
2016-08-02 19:35:27 -04:00
2017-03-02 08:42:39 +01:00
2017-02-22 10:30:38 -08:00
2017-02-24 17:46:56 -08:00
2017-03-02 08:42:35 +01:00
2017-03-02 08:42:39 +01:00
2016-12-27 14:49:05 -05:00
2017-01-23 11:32:16 -08:00
2017-02-24 17:46:53 -08:00
2016-04-11 22:43:43 +01:00
2017-02-22 17:08:33 -08:00
2017-02-24 17:46:56 -08:00
2016-02-16 13:04:58 -05:00
2016-10-25 11:08:10 +08:00
2017-03-02 08:42:34 +01:00
2015-11-09 15:53:39 -08:00
2017-03-02 08:42:37 +01:00
2017-03-02 08:42:35 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:35 +01:00
2015-09-10 13:29:01 -07:00
2017-02-27 18:43:47 -08:00
2016-04-14 12:56:09 -07:00
2017-03-02 08:42:36 +01:00
2017-03-02 08:42:39 +01: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
2016-10-21 15:45:47 -06: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-03-02 08:42:39 +01:00
2016-12-14 16:04:07 -08:00
2017-03-02 08:42:28 +01:00
2016-08-02 19:35:02 -04:00
2016-11-15 10:54:36 -05: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-02 08:42:31 +01: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-02-10 11:15:08 +01:00