summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2016-06-15 09:40:31 -0400
committerJ. Bruce Fields <bfields@redhat.com>2016-07-13 15:40:46 -0400
commit04d70edada3266b3cd4cbda9b4359d7a87263138 (patch)
tree713b5284724ce8e1dd0bbbe9e42bc6c39a4cb93e /net
parented94164398c935a42be7b129a478eb19c598b68a (diff)
downloadblackbird-op-linux-04d70edada3266b3cd4cbda9b4359d7a87263138.tar.gz
blackbird-op-linux-04d70edada3266b3cd4cbda9b4359d7a87263138.zip
sunrpc: add gss minor status to svcauth_gss_proxy_init
GSS-Proxy doesn't produce very much debug logging at all. Printing out the gss minor status will aid in troubleshooting if the GSS_Accept_sec_context upcall fails. Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/auth_gss/svcauth_gss.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c
index e085f5ae1548..1d281816f2bf 100644
--- a/net/sunrpc/auth_gss/svcauth_gss.c
+++ b/net/sunrpc/auth_gss/svcauth_gss.c
@@ -1230,8 +1230,9 @@ static int svcauth_gss_proxy_init(struct svc_rqst *rqstp,
if (status)
goto out;
- dprintk("RPC: svcauth_gss: gss major status = %d\n",
- ud.major_status);
+ dprintk("RPC: svcauth_gss: gss major status = %d "
+ "minor status = %d\n",
+ ud.major_status, ud.minor_status);
switch (ud.major_status) {
case GSS_S_CONTINUE_NEEDED:
OpenPOWER on IntegriCloud