Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
extern rwlock_t svc_lock;
extern rwlock_t svc_fd_lock;
+extern struct svc_auth_ops svc_auth_gss_ops;
static struct svc_callout *svc_find (rpcprog_t, rpcvers_t,
struct svc_callout **, char *);
SVC_DESTROY (xprt);
break;
}
+ else if ((xprt->xp_auth != NULL) &&
+ (xprt->xp_auth->svc_ah_ops != &svc_auth_gss_ops))
+ {
+ xprt->xp_auth = NULL;
+ }
}
while (stat == XPRT_MOREREQS);
}