diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-29 16:00:43 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-30 15:35:18 -0400 |
commit | 571ed1fd2390f74e4c1f46994f753fb0d29285e4 (patch) | |
tree | 3fd3225e218bf4e050e402e0aa7f100dca3e19e4 /include/linux/sunrpc | |
parent | 0c1c19f46efaff427fbf26007954bd090daaf15e (diff) | |
download | linux-stable-571ed1fd2390f74e4c1f46994f753fb0d29285e4.tar.gz linux-stable-571ed1fd2390f74e4c1f46994f753fb0d29285e4.tar.bz2 linux-stable-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')
-rw-r--r-- | include/linux/sunrpc/gss_krb5.h | 3 |
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) |