Skip to contentSkip to conversation

SUNRPC: do not fail gss proc NULL calls with EACCES

PATCH New [email protected] 1 participant 1 message Nov 20, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SUNRPC: do not fail gss proc NULL calls with EACCES

From: Andy Adamson <[email protected]>

Otherwise RPCSEC_GSS_DESTROY messages are not sent.

---
 net/sunrpc/auth_gss/auth_gss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/sunrpc/auth_gss/auth_gss.c +1 -1
index 97912b4..42fdfc6 100644
@@ -1517,7 +1517,7 @@ out:
 static int
 gss_refresh_null(struct rpc_task *task)
 {
-	return -EACCES;
+	return 0;
 }
 
 static __be32 *
Signature · 1 line
1.8.3.1