Skip to content

livepatch: fix patch module loading race

Josh Poimboeuf lkml 1 version Applied

Status from this message: Applied to for-4.1/core.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 19 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2livepatch: remove unnecessary call to klp_find_object_module()kernel/livepatch/core.c+0 -22 replies
2/2livepatch: fix patched module loading racekernel/livepatch/core.c+49 -417 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPetr Mladek
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] livepatch: fix patch module loading race

Patch 1/2 removes the extra klp_find_object_module() call, as we discussed. It's a prerequisite for making the 2nd patch simpler.

Patch 2/2 is a fixed up version of the scratch patch I posted earlier today, with better comments and a few simplifications which are possible with the single caller to klp_find_object_module().

Josh Poimboeuf (2):
livepatch: remove unnecessary call to klp_find_object_module()
livepatch: fix patched module loading race

 kernel/livepatch/core.c | 55 +++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 49 insertions(+), 6 deletions(-)
Signature · 1 line
2.1.0