Searched hist:"57 c8b13e" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/nfsd/ |
H A D | nfsd.h | 57c8b13e Tue Jul 03 07:46:41 CDT 2012 Stanislav Kinsbursky <skinsbursky@parallels.com> 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>
|
H A D | nfssvc.c | 57c8b13e Tue Jul 03 07:46:41 CDT 2012 Stanislav Kinsbursky <skinsbursky@parallels.com> 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>
|