summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcauth.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-10-24 15:34:10 +0200
committerJ. Bruce Fields <bfields@redhat.com>2019-10-30 21:32:07 +0100
commitff27e9f748303e8567bfceb6d7ff264cbcaca2ef (patch)
tree2bc5e883cc27c2740b3b034515fb8fed806d877d /net/sunrpc/svcauth.c
parentsunrpc: fix crash when cache_head become valid before update (diff)
downloadlinux-ff27e9f748303e8567bfceb6d7ff264cbcaca2ef.tar.xz
linux-ff27e9f748303e8567bfceb6d7ff264cbcaca2ef.zip
SUNRPC: Trace gssproxy upcall results
Record results of a GSS proxy ACCEPT_SEC_CONTEXT upcall and the svc_authenticate() function to make field debugging of NFS server Kerberos issues easier. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Bill Baker <bill.baker@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svcauth.c')
-rw-r--r--net/sunrpc/svcauth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/svcauth.c b/net/sunrpc/svcauth.c
index 550b214cb001..552617e3467b 100644
--- a/net/sunrpc/svcauth.c
+++ b/net/sunrpc/svcauth.c
@@ -19,6 +19,8 @@
#include <linux/err.h>
#include <linux/hash.h>
+#include <trace/events/sunrpc.h>
+
#define RPCDBG_FACILITY RPCDBG_AUTH