From fe6855146818acab00ac4f7924947d1f965e1eed Mon Sep 17 00:00:00 2001 From: Lu Wei Date: Sat, 8 May 2021 17:26:02 +0800 Subject: [PATCH] sunrpc: Change the place of endtime in struct krb5_ctx hulk inclusion category: feature bugzilla: 51816 CVE: NA ------------------------------------------------- In commit 1ea96bdeb("sunrpc: convert to time64_t for expiry"), I put the endtime in the wrong place in struct krb5_ctx. This patch fixes this mistake. Signed-off-by: Lu Wei Reviewed-by: Yue Haibing Signed-off-by: Yang Yingliang --- include/linux/sunrpc/gss_krb5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sunrpc/gss_krb5.h b/include/linux/sunrpc/gss_krb5.h index 2b2dce09f3b7..409adae4bf9f 100644 --- a/include/linux/sunrpc/gss_krb5.h +++ b/include/linux/sunrpc/gss_krb5.h @@ -106,9 +106,9 @@ struct krb5_ctx { struct crypto_skcipher *initiator_enc_aux; u8 Ksess[GSS_KRB5_MAX_KEYLEN]; /* session key */ u8 cksum[GSS_KRB5_MAX_KEYLEN]; - time64_t endtime; u32 seq_send; u64 seq_send64; + time64_t endtime; struct xdr_netobj mech_used; u8 initiator_sign[GSS_KRB5_MAX_KEYLEN]; u8 acceptor_sign[GSS_KRB5_MAX_KEYLEN]; -- GitLab