linux/fs/lockd
Vasily Averin dc3033e16c lockd: double unregister of inetaddr notifiers
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 removes extra unregister in error path of lockd_up().

Fixes: cb7d224f82 "lockd: unregister notifier blocks if the service ..."
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Cc: stable@vger.kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2017-11-07 16:43:58 -05:00
..
clnt4xdr.c sunrpc: mark all struct rpc_procinfo instances as const 2017-05-15 17:42:20 +02:00
clntlock.c lockd: Delete an error message for a failed memory allocation in reclaimer() 2017-09-06 12:33:56 -04:00
clntproc.c lockd: Introduce nlmclnt_operations 2017-04-21 10:45:01 -04:00
clntxdr.c sunrpc: mark all struct rpc_procinfo instances as const 2017-05-15 17:42:20 +02:00
host.c lockd: get rid of reference-counted NSM RPC clients 2015-10-23 15:57:27 -04:00
Makefile lockd: add a /proc/fs/lockd/nlm_end_grace file 2014-09-17 16:33:13 -04:00
mon.c sunrpc: mark all struct rpc_procinfo instances as const 2017-05-15 17:42:20 +02:00
netns.h netns: make struct pernet_operations::id unsigned int 2016-11-18 10:59:15 -05:00
procfs.c drop redundant ->owner initializations 2016-05-29 19:08:00 -04:00
procfs.h treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
svc4proc.c sunrpc: mark all struct svc_procinfo instances as const 2017-05-15 17:42:31 +02:00
svc.c lockd: double unregister of inetaddr notifiers 2017-11-07 16:43:58 -05:00
svclock.c lockd: remove redundant check on block 2017-04-25 17:25:56 -04:00
svcproc.c sunrpc: mark all struct svc_procinfo instances as const 2017-05-15 17:42:31 +02:00
svcshare.c lockd: fix sparse warning in svcshare.c 2008-04-23 16:13:39 -04:00
svcsubs.c nfsd: eliminate NFSD_DEBUG 2015-04-21 16:16:02 -04:00
xdr4.c sunrpc: properly type pc_encode callbacks 2017-05-15 17:42:25 +02:00
xdr.c sunrpc: properly type pc_encode callbacks 2017-05-15 17:42:25 +02:00