summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/gss_krb5.h
diff options
context:
space:
mode:
authorTrond Myklebust2018-09-29 22:00:43 +0200
committerTrond Myklebust2018-09-30 21:35:18 +0200
commit571ed1fd2390f74e4c1f46994f753fb0d29285e4 (patch)
tree3fd3225e218bf4e050e402e0aa7f100dca3e19e4 /include/linux/sunrpc/gss_krb5.h
parentSUNRPC: Lockless lookup of RPCSEC_GSS mechanisms (diff)
downloadkernel-qcow2-linux-571ed1fd2390f74e4c1f46994f753fb0d29285e4.tar.gz
kernel-qcow2-linux-571ed1fd2390f74e4c1f46994f753fb0d29285e4.tar.xz
kernel-qcow2-linux-571ed1fd2390f74e4c1f46994f753fb0d29285e4.zip
SUNRPC: Replace krb5_seq_lock with a lockless scheme
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/sunrpc/gss_krb5.h')
-rw-r--r--include/linux/sunrpc/gss_krb5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sunrpc/gss_krb5.h b/include/linux/sunrpc/gss_krb5.h
index 7df625d41e35..69f749afa617 100644
--- a/include/linux/sunrpc/gss_krb5.h
+++ b/include/linux/sunrpc/gss_krb5.h
@@ -118,7 +118,8 @@ struct krb5_ctx {
u8 acceptor_integ[GSS_KRB5_MAX_KEYLEN];
};
-extern spinlock_t krb5_seq_lock;
+extern u32 gss_seq_send_fetch_and_inc(struct krb5_ctx *ctx);
+extern u64 gss_seq_send64_fetch_and_inc(struct krb5_ctx *ctx);
/* The length of the Kerberos GSS token header */
#define GSS_KRB5_TOK_HDR_LEN (16)