summaryrefslogtreecommitdiff
path: root/net/sunrpc/auth_gss/trace.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-04-18 18:30:42 -0400
committerChuck Lever <chuck.lever@oracle.com>2020-07-13 17:28:24 -0400
commit10b9d99a3dbbf5e9af838d1887a1047875dcafd9 (patch)
tree8ff713f8601de6ca17878a4c77ffdba3cf7cbc11 /net/sunrpc/auth_gss/trace.c
parent0e885e846d96df0c8a4a829b1ad355a82ccda656 (diff)
SUNRPC: Augment server-side rpcgss tracepoints
Add similar tracepoints to those that were recently added on the client side to track failures in the integ and priv unwrap paths. And, let's collect the seqno-specific tracepoints together with a common naming convention. Regarding the gss_check_seq_num() changes: everywhere else treats the GSS sequence number as an unsigned 32-bit integer. As far back as 2.6.12, I couldn't find a compelling reason to do things differently here. As a defensive change it's better to eliminate needless implicit sign conversions. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/auth_gss/trace.c')
-rw-r--r--net/sunrpc/auth_gss/trace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/auth_gss/trace.c b/net/sunrpc/auth_gss/trace.c
index 49fa583d7f91..d26036a57443 100644
--- a/net/sunrpc/auth_gss/trace.c
+++ b/net/sunrpc/auth_gss/trace.c
@@ -5,6 +5,9 @@
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/sched.h>
+#include <linux/sunrpc/svc.h>
+#include <linux/sunrpc/svc_xprt.h>
+#include <linux/sunrpc/auth_gss.h>
#include <linux/sunrpc/gss_err.h>
#include <linux/sunrpc/auth_gss.h>