aboutsummaryrefslogtreecommitdiff
path: root/net/rds/rdma_transport.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-07-03 16:46:41 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-02 10:40:01 -0700
commite116de8f0cba1231b545eb982d1f73be68dacd38 (patch)
tree35ee1275d0f1188a6f18c6d1b28e0599d7d9d329 /net/rds/rdma_transport.c
parentea8c40cf20877a61e211853e0425bc808344e881 (diff)
NFSd: set nfsd_serv to NULL after service destruction
commit 57c8b13e3cd0f94944c9691ce7f58e5fcef8a12d upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rds/rdma_transport.c')
0 files changed, 0 insertions, 0 deletions