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

2017-10-11 Thread Jiri Kosina
On Mon, 2 Oct 2017, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-11 Thread Jiri Kosina
On Mon, 2 Oct 2017, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-10 Thread Petr Mladek
On Mon 2017-10-02 11:56:48, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-10 Thread Petr Mladek
On Mon 2017-10-02 11:56:48, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-09 Thread Josh Poimboeuf
On Mon, Oct 09, 2017 at 04:49:29PM +0200, Miroslav Benes wrote: > On Mon, 2 Oct 2017, 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: > > > >

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

2017-10-09 Thread Josh Poimboeuf
On Mon, Oct 09, 2017 at 04:49:29PM +0200, Miroslav Benes wrote: > On Mon, 2 Oct 2017, 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: > > > >

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

2017-10-09 Thread Miroslav Benes
On Mon, 2 Oct 2017, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-09 Thread Miroslav Benes
On Mon, 2 Oct 2017, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-06 Thread Josh Poimboeuf
On Thu, Oct 05, 2017 at 04:55:43PM -0500, Josh Poimboeuf wrote: > On Mon, Oct 02, 2017 at 11:56:48AM -0400, 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: >

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

2017-10-06 Thread Josh Poimboeuf
On Thu, Oct 05, 2017 at 04:55:43PM -0500, Josh Poimboeuf wrote: > On Mon, Oct 02, 2017 at 11:56:48AM -0400, 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: >

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

2017-10-06 Thread Josh Poimboeuf
On Mon, Oct 02, 2017 at 11:56:48AM -0400, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-06 Thread Josh Poimboeuf
On Mon, Oct 02, 2017 at 11:56:48AM -0400, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-05 Thread Josh Poimboeuf
On Mon, Oct 02, 2017 at 11:56:48AM -0400, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-05 Thread Josh Poimboeuf
On Mon, Oct 02, 2017 at 11:56:48AM -0400, 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-02 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 v2] livepatch: unpatch all klp_objects if klp_module_coming fails

2017-10-02 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