Re: [PATCH] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-02 Thread Petr Mladek
On Thu 2017-09-28 15:15:00, Joe Lawrence wrote: > When an incoming module is considered for livepatching by > klp_module_coming(), it iterates over multiple patches and multiple > kernel objects in this order: > > list_for_each_entry(patch, _patches, list) { >

Re: [PATCH] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-02 Thread Petr Mladek
On Thu 2017-09-28 15:15:00, Joe Lawrence wrote: > When an incoming module is considered for livepatching by > klp_module_coming(), it iterates over multiple patches and multiple > kernel objects in this order: > > list_for_each_entry(patch, _patches, list) { >

[PATCH] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-09-28 Thread Joe Lawrence
When an incoming module is considered for livepatching by klp_module_coming(), it iterates over multiple patches and multiple kernel objects in this order: list_for_each_entry(patch, _patches, list) { klp_for_each_object(patch, obj) { which means that if one of the kernel

[PATCH] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-09-28 Thread Joe Lawrence
When an incoming module is considered for livepatching by klp_module_coming(), it iterates over multiple patches and multiple kernel objects in this order: list_for_each_entry(patch, _patches, list) { klp_for_each_object(patch, obj) { which means that if one of the kernel