livepatch: Clear relocations when klp_init_object_loaded() fails
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | livepatch: Move code for updating livepatch object relocationskernel/ | +36 | 3 replies | |
| 2/2 | livepatch: Clean up klp_init_object_loaded() when failskernel/ | +20 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Song Liu |
|---|---|
| 1/2 | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] livepatch: Clear relocations when klp_init_object_loaded() fails
Hi,
this patchset fixes an older problem found by Sashiko AI,
see https://lore.kernel.org/r/[email protected]
The first patch just shuffles the existing code.
The second patch is the real fix.
The patchset is made on top of the patch where Sashiko found this older problem, see
https://lore.kernel.org/all/[email protected]/
It might make sense to handle them together in a single patchset because they touch the same code and conflict.
It seems that we will need v3 for the original patch.
Harry, could you please send it together with these additional fixes? [*]
[*] I am not sure if you did this before. It is easy. You create
the patchset as usual and send it. git will do the trick and keep me as the author of the two additional patches.
Alternatively, I could send this separately and solve the conflicts when merging. They are simple after all. I just must not forget to replace the new "return err" with "goto err" ;-)
Petr Mladek (2):
livepatch: Move code for updating livepatch object relocations
livepatch: Clean up klp_init_object_loaded() when fails
kernel/livepatch/core.c | 102 ++++++++++++++++++++++------------------ 1 file changed, 56 insertions(+), 46 deletions(-)
Signature · 1 line
2.55.0