Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4746034imu; Tue, 8 Jan 2019 05:42:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN5HDvxg7Ea/Kyq1O3tI806/0htb+vjVQqtSNN9AtlxDT547KgGHEoMY40lr632WUaDJpwOR X-Received: by 2002:a65:51ca:: with SMTP id i10mr1507243pgq.371.1546954939948; Tue, 08 Jan 2019 05:42:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546954939; cv=none; d=google.com; s=arc-20160816; b=lbx9cXUr13aD/Me4T4dW5xi+HBcvw+hYHpj5hmUcE2CHsoZGhlORzSK+0MchiwYXCP wK4EHuqMHPOQEInfgBSbY7RcB6ztQMj/6MQnEsiFu8Fn4cEIvYytyHbwp9Ko2v8WK0N9 r/SyET0V8a5IfvA54+6TLcIIRQkaGKoFj+L4Vo7PzN4rRUmtpIkL6omqUQmSpoLSUB+X 2ZoYsqG5bEPKWIPmvSY8JS4u5WeChufUXa3WVWC9/L1eYKtf3fOTIGghhwQQH8NPgx7T iqqloMUQCs9fSgKt8hI7nEyALJzRapHU/313Fb8nnXxvKt2UFBZYUQeGXODtD4gXvbxZ sX0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NQvU4StewlMdRRuTTmzDqtU8OB+g3yj+Mb1ASOZhQFE=; b=lSoYBd8ipRQXXE2x05hkUhFjCDNlGGgQ0UiXQ/sRMMIMCjodabMYV+IoPhKy/q5y8S fu3Fqgk59EKUJ/aWwBioDmmPVNenvihSh7+g9xJIZ2aVznfzGx2eYCanMNrJfTVo4Fuw 6hryNTQWaCiilS1DcgQBamVb21qhkFa8bjvjejLk3gifgW8XJHTP/UlrrEmqiRBXVTG0 xpT1BTuXLFUy6RvQenbRso26JvEvGQ52c27dyxKHW9HtYx23FlJL/MptlLVtlpU6Y2Xu Ed/WTas6ADcCjnSICR+KJ+10QiRdiHFoV0F4EzKt844sXGfQcc2pJyl3Yx38ko6wckSg wbZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=toKVsIfV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si67530997pfa.150.2019.01.08.05.42.04; Tue, 08 Jan 2019 05:42:19 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=toKVsIfV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728123AbfAHNk6 (ORCPT + 99 others); Tue, 8 Jan 2019 08:40:58 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:38659 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727236AbfAHNk5 (ORCPT ); Tue, 8 Jan 2019 08:40:57 -0500 Received: by mail-ed1-f66.google.com with SMTP id h50so4253471ede.5; Tue, 08 Jan 2019 05:40:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NQvU4StewlMdRRuTTmzDqtU8OB+g3yj+Mb1ASOZhQFE=; b=toKVsIfVZujvPkG6SiJt0ajqlLPysKriQXAlYKeJYTPlRYBCrrqUiwno5MJY7E0io7 Omsr+syD9U2lVEXp6uDlPDxP8+Ak+heUpsOTpG2PERWp+qb4c+DyKZE7WKkzf142bvVO F3eWAAqtvac3STUwm1AM5M5FD1CgDzpisM7w56H/20z56mbSm1HUaIyBonUUMV+As8kO E44TfdXvxcUKmqzO9Dxh5csgQx0pFoAOpLDksSs4nOhkE3VuNeD2mlpY+vy36rTr38aa Im08rFOn7NLpxpvwk0t4wOaMu9OWP6dcTYjK1CJrvDPT9K4N1nVDlPuVat/hwjvDL9hy AMEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NQvU4StewlMdRRuTTmzDqtU8OB+g3yj+Mb1ASOZhQFE=; b=JYvp4m13YjnraHZ0Ie2QKEcJ4MLBGMyiLi3/eR7dkblSDj71K1Yji/5EeZ2SDVYgrQ OvaEFTjGi7komcXB8ouVJAZL7np7E0yzjB9TUGvgvku/J2+tVBTjZehT84PiDknoVOZx aO/2vfHVLs2+GMvwgf45hxatngeUpUmP99bkS1+SO6RerizRNE30MoLRHrJ+E890KKq1 140zFLQgk6M2uyLDdu4byz5ntsc/Gkm9rEZ54dexKtdk1a2epAcCfwE8CpOhdYPVqWFC ihBfbOj1f57h6/KSpm3YJbLWOjkQjqZTasjMfZmx0ypPZZdbd6ePt8nSiE1JWzwWr35c c55w== X-Gm-Message-State: AJcUukduPZPcBdcJ/1Ih81C2ajHY5OMlpkOaPTwRa/ccko8nTmHSWbiP qNNVax7TVVGmkfnCRPnca7A/m/ObT5H/nAL8G7g= X-Received: by 2002:a50:bdc8:: with SMTP id z8mr2117146edh.46.1546954854953; Tue, 08 Jan 2019 05:40:54 -0800 (PST) MIME-Version: 1.0 References: <20190108032657.8331-1-deepa.kernel@gmail.com> <20190108032657.8331-8-deepa.kernel@gmail.com> In-Reply-To: <20190108032657.8331-8-deepa.kernel@gmail.com> From: Willem de Bruijn Date: Tue, 8 Jan 2019 08:40:18 -0500 Message-ID: Subject: Re: [PATCH v3 7/8] socket: Add SO_TIMESTAMPING_NEW To: Deepa Dinamani Cc: David Miller , LKML , Network Development , Arnd Bergmann , y2038 Mailman List , Chris Zankel , fenghua.yu@intel.com, rth@twiddle.net, Thomas Gleixner , ubraun@linux.ibm.com, linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-ia64@vger.kernel.org, "open list:RALINK MIPS ARCHITECTURE" , linux-s390 , linux-xtensa@linux-xtensa.org, sparclinux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 7, 2019 at 10:29 PM Deepa Dinamani wrote: > > Add SO_TIMESTAMPING_NEW variant of socket timestamp options. > This is the y2038 safe versions of the SO_TIMESTAMPING_OLD > for all architectures. > > Signed-off-by: Deepa Dinamani > Cc: chris@zankel.net > Cc: fenghua.yu@intel.com > Cc: rth@twiddle.net > Cc: tglx@linutronix.de > Cc: ubraun@linux.ibm.com > Cc: linux-alpha@vger.kernel.org > Cc: linux-arch@vger.kernel.org > Cc: linux-ia64@vger.kernel.org > Cc: linux-mips@linux-mips.org > Cc: linux-s390@vger.kernel.org > Cc: linux-xtensa@linux-xtensa.org > Cc: sparclinux@vger.kernel.org > --- > --- a/arch/sparc/include/uapi/asm/socket.h > +++ b/arch/sparc/include/uapi/asm/socket.h > @@ -106,20 +106,22 @@ > #define SO_TIMESTAMPNS_OLD 0x0021 > #define SO_TIMESTAMPING_OLD 0x0023 > > -#define SO_TIMESTAMP_NEW 0x0040 > -#define SO_TIMESTAMPNS_NEW 0x0041 > +#define SO_TIMESTAMP_NEW 0x0041 > +#define SO_TIMESTAMPNS_NEW 0x0042 > +#define SO_TIMESTAMPING_NEW 0x0043 nit: unnecessary? perhaps need to get indentation consistent immediately in the previous patch in this series that introduces SO_TIMESTAMP_NEW