Re: [PATCH v2] lockd: double unregister of inetaddr notifiers

2017-10-20 Thread J. Bruce Fields
Thanks, applying for 3.15 with a stable cc. --b. On Fri, Oct 20, 2017 at 01:03:37PM -0400, Jeff Layton wrote: > On Fri, 2017-10-20 at 17:33 +0300, Vasily Averin wrote: > > v2: reported to stable@ because it fixes backported patch. > > > > lockd_up() can call lockd_unregister_notifiers twice: >

Re: [PATCH v2] lockd: double unregister of inetaddr notifiers

2017-10-20 Thread J. Bruce Fields
Thanks, applying for 3.15 with a stable cc. --b. On Fri, Oct 20, 2017 at 01:03:37PM -0400, Jeff Layton wrote: > On Fri, 2017-10-20 at 17:33 +0300, Vasily Averin wrote: > > v2: reported to stable@ because it fixes backported patch. > > > > lockd_up() can call lockd_unregister_notifiers twice: >

Re: [PATCH v2] lockd: double unregister of inetaddr notifiers

2017-10-20 Thread Jeff Layton
On Fri, 2017-10-20 at 17:33 +0300, Vasily Averin wrote: > v2: reported to stable@ because it fixes backported patch. > > lockd_up() can call lockd_unregister_notifiers twice: > inside lockd_start_svc() when it calls lockd_svc_exit_thread() > and then in error path of lockd_up() > > Patch forces

Re: [PATCH v2] lockd: double unregister of inetaddr notifiers

2017-10-20 Thread Jeff Layton
On Fri, 2017-10-20 at 17:33 +0300, Vasily Averin wrote: > v2: reported to stable@ because it fixes backported patch. > > lockd_up() can call lockd_unregister_notifiers twice: > inside lockd_start_svc() when it calls lockd_svc_exit_thread() > and then in error path of lockd_up() > > Patch forces

[PATCH v2] lockd: double unregister of inetaddr notifiers

2017-10-20 Thread Vasily Averin
v2: reported to stable@ because it fixes backported patch. lockd_up() can call lockd_unregister_notifiers twice: inside lockd_start_svc() when it calls lockd_svc_exit_thread() and then in error path of lockd_up() Patch forces lockd_start_svc() to unregister notifiers in all error cases and

[PATCH v2] lockd: double unregister of inetaddr notifiers

2017-10-20 Thread Vasily Averin
v2: reported to stable@ because it fixes backported patch. lockd_up() can call lockd_unregister_notifiers twice: inside lockd_start_svc() when it calls lockd_svc_exit_thread() and then in error path of lockd_up() Patch forces lockd_start_svc() to unregister notifiers in all error cases and