lkml.org 
[lkml]   [2022]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.19 016/207] xfrm: fix XFRMA_LASTUSED comment
    Date
    From: Antony Antony <antony.antony@secunet.com>

    [ Upstream commit 36d763509be326bb383b1b1852a129ff58d74e3b ]

    It is a __u64, internally time64_t.

    Fixes: bf825f81b454 ("xfrm: introduce basic mark infrastructure")
    Signed-off-by: Antony Antony <antony.antony@secunet.com>
    Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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.35.1


    \
     
     \ /
      Last update: 2022-09-26 13:32    [W:4.170 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site