]> git.baikalelectronics.ru Git - kernel.git/commit
RPCSEC_GSS: Fix an Oopsable condition when creating/destroying pipefs objects
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 26 Aug 2013 20:05:11 +0000 (16:05 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 30 Aug 2013 13:19:37 +0000 (09:19 -0400)
commitb08b107b7b589b3bff9c7ae131c9530a83b7c1d9
treee0c82f4b204db63bd37194f28df384deca6f55ba
parent6d40edd739b44b006e88e91427e0ddc0e3195c70
RPCSEC_GSS: Fix an Oopsable condition when creating/destroying pipefs objects

If an error condition occurs on rpc_pipefs creation, or the user mounts
rpc_pipefs and then unmounts it, then the dentries in struct gss_auth
need to be reset to NULL so that a second call to gss_pipes_dentries_destroy
doesn't try to free them again.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c