commit | 57c8b13e3cd0f94944c9691ce7f58e5fcef8a12d | [log] [tgz] |
---|---|---|
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | Tue Jul 03 16:46:41 2012 +0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Jul 25 09:21:31 2012 -0400 |
tree | 1730526321faaad23aef64e3a437dc2f92752e90 | |
parent | 19f7e2ca44dfc3c1b3f499fc46801f98d403500f [diff] |
NFSd: set nfsd_serv to NULL after service destruction In nfsd_destroy(): if (destroy) svc_shutdown_net(nfsd_serv, net); svc_destroy(nfsd_server); svc_shutdown_net(nfsd_serv, net) calls nfsd_last_thread(), which sets nfsd_serv to NULL, causing a NULL dereference on the following line. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>