aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/livepatch
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/livepatch')
-rw-r--r--kernel/livepatch/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c
index ce42d3b930dc..3d9c00b5223a 100644
--- a/kernel/livepatch/core.c
+++ b/kernel/livepatch/core.c
@@ -739,7 +739,7 @@ static int klp_init_patch(struct klp_patch *patch)
739 goto free; 739 goto free;
740 } 740 }
741 741
742 list_add(&patch->list, &klp_patches); 742 list_add_tail(&patch->list, &klp_patches);
743 743
744 mutex_unlock(&klp_mutex); 744 mutex_unlock(&klp_mutex);
745 745