Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2044430imm; Thu, 12 Jul 2018 12:12:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdxWc+qBpcgD+COPyX0Af/qTg5XcnU6EPruS8StypX3wrncSYYbIC+TrhKyNX43J/m5U6Xe X-Received: by 2002:a62:4083:: with SMTP id f3-v6mr3668311pfd.229.1531422752193; Thu, 12 Jul 2018 12:12:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531422752; cv=none; d=google.com; s=arc-20160816; b=sslaDMsx2ZENR/A4+7A5a96sPT9zU54UJ7AQWR1c/rK2X/teg0cI/+PAcci0Jhnjwm YFRd1x2BbO7JX3Bsa9asyeF/OtAigpDTRBduGn9otmPjnMm1AYNOSN8dLYauSejo2gDa bTSoo3Tg07LCxJtwKXXE3epmeMgNeD6G0OelbRKzxaUe7XCEGkIynBJfZXC5abVJtBgl VnGfzXQzihRjKGL2pgQCzkRdQPfUuRy3AQHZo1YpaoCrS1PVHJoUsmQFIQDhZiC5zyb1 d92xkMOjmIFO8GGCIgKp0EFcy71y7Xr143fx5cXX0ZKwZtfAp/exNsDDkqRJh668XVJC 31+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=E8gix8A20jmHgRV2U7gDgi2nQWdYAxanx1rZ4I9ws4I=; b=pEhduB9scP0sqm50838zT1Lvlr2laJFCjJR/w3rSX73J6/VaudRF0g3WCPGJF7/atR v1gP49vc+nYBg/Z2hEqSCOPChnDR955HWnm/3oTp/NEzH50DmUv+Uej1cFIUVDdlwjpJ ee41iIFQoq9vZNZOpekBynJNgUBj4N4maB57+yw+B2lmpUdRPt7VTLvkojvzObFBhHHA ZC/P/sknaqyG6dUAgRgVR3NEhlrj2a5/NzVYXotrQmeBtcsCjLzBfjcrD1McfDer6dmG 9dOjosISO2zYRbRYF0zAnuJuYvv+JrU2oBTlgPpPvOpMIDvL5omCsU0PU2jGEAYRNfPL txGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f90-v6si22728429plf.390.2018.07.12.12.12.17; Thu, 12 Jul 2018 12:12:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728250AbeGLTW2 (ORCPT + 99 others); Thu, 12 Jul 2018 15:22:28 -0400 Received: from a.mx.secunet.com ([62.96.220.36]:47478 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726351AbeGLTW2 (ORCPT ); Thu, 12 Jul 2018 15:22:28 -0400 Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 221642019F; Thu, 12 Jul 2018 23:11:20 +0200 (CEST) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BsSENSIzfCt2; Thu, 12 Jul 2018 23:11:19 +0200 (CEST) Received: from mail-essen-01.secunet.de (mail-essen-01.secunet.de [10.53.40.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id 9CF8220080; Thu, 12 Jul 2018 23:11:19 +0200 (CEST) Received: from gauss2.secunet.de (10.182.7.193) by mail-essen-01.secunet.de (10.53.40.204) with Microsoft SMTP Server id 14.3.399.0; Thu, 12 Jul 2018 21:11:34 +0200 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 7AC563180879; Thu, 12 Jul 2018 21:11:34 +0200 (CEST) Date: Thu, 12 Jul 2018 21:11:34 +0200 From: Steffen Klassert To: Arnd Bergmann CC: Herbert Xu , "David S. Miller" , Alexey Kuznetsov , "Hideaki YOSHIFUJI" , , Subject: Re: [PATCH 2/2] [RESEND, net-next] ipv6: xfrm: use 64-bit timestamps Message-ID: <20180712191134.42c32s6tquskm676@gauss3.secunet.de> References: <20180711101941.4039411-1-arnd@arndb.de> <20180711101941.4039411-2-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180711101941.4039411-2-arnd@arndb.de> User-Agent: NeoMutt/20170609 (1.8.3) X-G-Data-MailSecurity-for-Exchange-State: 0 X-G-Data-MailSecurity-for-Exchange-Error: 0 X-G-Data-MailSecurity-for-Exchange-Sender: 23 X-G-Data-MailSecurity-for-Exchange-Server: d65e63f7-5c15-413f-8f63-c0d707471c93 X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-G-Data-MailSecurity-for-Exchange-Guid: E5F1DEDA-6242-41E9-BEE3-BD25F7E510FE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 11, 2018 at 12:19:14PM +0200, Arnd Bergmann wrote: > get_seconds() is deprecated because it can overflow on 32-bit > architectures. For the xfrm_state->lastused member, we treat the data > as a 64-bit number already, so we just need to use the right accessor > that works on both 32-bit and 64-bit machines. > > Signed-off-by: Arnd Bergmann Also applied to ipsec-next, thanks!