All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antony Antony <antony.antony@secunet.com>
To: Steffen Klassert <steffen.klassert@secunet.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Antony Antony <antony.antony@secunet.com>
Cc: <netdev@vger.kernel.org>, Tobias Brunner <tobias@strongswan.org>
Subject: [PATCH ipsec 2/3] xfrm: fix XFRMA_LASTUSED comment
Date: Wed, 27 Jul 2022 17:40:53 +0200	[thread overview]
Message-ID: <f13d56af7b5846bac7549988e1c699ac2c17926a.1658936270.git.antony.antony@secunet.com> (raw)
In-Reply-To: <3e201e1156639286e1874ebc29233741b8b2ac54.1657260947.git.antony.antony@secunet.com>

It is a __u64, internally time64_t.

Fixes: bf825f81b454 ("xfrm: introduce basic mark infrastructure")
Signed-off-by: Antony Antony <antony.antony@secunet.com>
---
 include/uapi/linux/xfrm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/xfrm.h b/include/uapi/linux/xfrm.h
index 65e13a099b1a..a9f5d884560a 100644
--- a/include/uapi/linux/xfrm.h
+++ b/include/uapi/linux/xfrm.h
@@ -296,7 +296,7 @@ enum xfrm_attr_type_t {
 	XFRMA_ETIMER_THRESH,
 	XFRMA_SRCADDR,		/* xfrm_address_t */
 	XFRMA_COADDR,		/* xfrm_address_t */
-	XFRMA_LASTUSED,		/* unsigned long  */
+	XFRMA_LASTUSED,		/* __u64 */
 	XFRMA_POLICY_TYPE,	/* struct xfrm_userpolicy_type */
 	XFRMA_MIGRATE,
 	XFRMA_ALG_AEAD,		/* struct xfrm_algo_aead */
--
2.30.2


  parent reply	other threads:[~2022-07-27 15:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08  6:16 [PATCH ipsec-next 1/4] Revert "xfrm: update SA curlft.use_time" Antony Antony
2022-07-08  6:16 ` [PATCH ipsec-next 2/4] xfrm: fix XFRMA_LASTUSED comment Antony Antony
2022-07-08  6:17 ` [PATCH ipsec-next 3/4] xfrm: update x->lastused for every packet Antony Antony
2022-07-08  6:18 ` [PATCH ipsec-next 4/4] xfrm: clone x->lastused in xfrm_do_migrate Antony Antony
2022-07-11  8:34   ` Steffen Klassert
2022-07-11  8:24 ` [PATCH ipsec-next 1/4] Revert "xfrm: update SA curlft.use_time" Steffen Klassert
2022-07-27 15:38 ` [PATCH ipsec 1/3] " Antony Antony
2022-07-27 15:45   ` Antony Antony
2022-08-04  9:31   ` Steffen Klassert
2022-07-27 15:40 ` Antony Antony [this message]
2022-07-27 15:41 ` [PATCH ipsec 3/3] xfrm: clone missing x->lastused in xfrm_do_migrate Antony Antony
2022-10-21 13:42 ` [PATCH ipsec-next v2] xfrm: update x->lastused for every packet Antony Antony
2022-10-28 11:35   ` Steffen Klassert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f13d56af7b5846bac7549988e1c699ac2c17926a.1658936270.git.antony.antony@secunet.com \
    --to=antony.antony@secunet.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    --cc=tobias@strongswan.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.