livepatch: Module coming and going callbacks can proceed with all listed patches
authorPetr Mladek <pmladek@suse.com>
Mon, 4 Feb 2019 13:56:53 +0000 (14:56 +0100)
committerPetr Mladek <pmladek@suse.com>
Wed, 6 Feb 2019 10:03:14 +0000 (11:03 +0100)
commita087cdd4073b78f4739ce6709daeb4f3267b4dbf
tree49acb85ad5918dd9c12ccf1e408cf5acd65ad3e6
parent49ee4dd2e753cd13d157361d4bd28b548e3d0ee7
livepatch: Module coming and going callbacks can proceed with all listed patches

Livepatches can no longer get enabled and disabled repeatedly.
The list klp_patches contains only enabled patches and eventually
the patch in transition.

The module coming and going callbacks do no longer need to check
for these state. They have to proceed with all listed patches.

Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
kernel/livepatch/core.c