Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp903897imm; Wed, 4 Jul 2018 07:57:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcoIAGmdZ+YsQcpcLzQYIkYUq24MxTI8IKc6n+lSmOqMl9Za6rL4P01+g/EzDceCwWZyqP7 X-Received: by 2002:a63:4b5a:: with SMTP id k26-v6mr2172114pgl.384.1530716243065; Wed, 04 Jul 2018 07:57:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530716243; cv=none; d=google.com; s=arc-20160816; b=U6pTNJADyFSTJnKIaws9DUK0oWLS/IufkmgJGlYQAETm5A7xVqUZjrc37CMyctpU2m GbnM6jESmum3ADbAWbfUz6OuuWv7kMG91bsHUCJZr0TdZU4Wa+npcwXj6jAZZHMXL+87 oZ4RRIzXgk2DpIfeeCMpWdMbrjeIhyh47cFL+E0CmPPXuCpFDoxVWYCCeCAtecGfYEcc rD3kWw5Q3QRPoH2G/fWlZkENTKd6w+Gq6OBAizpmbaWRv7NtpAFGpu8vy0QEgkZ6aB8y iz9jaK90apEecVy6yfA+YAAb3otk72Den69thbADQ15QjQIKsWxxU3Bpum2a9nj5EBEc UOpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=5nw6P8ERi0eVE6ReyTkilrvfk5IqKtwBWTR7D9FnZD0=; b=omj7HRGM9ZCxuOo64ec54fAwNOLb1Nmk7IKrVF6KoIUWjcqxluSZfxKwmXG0Uybyho d9OSCN6ZMEpcsR3xYP9D49AExpGB1l3Cq18KnB8ALMjztetWnyzrDKFUjoLh/wt6FmDe 0IFMnrPThdBT2BI+UBuWNlsvTuE30ud2RGg2NTl56T9cBHduZChFI2FK509Q22HYAErF a0NXZ9jPuN8jOJVOmEpU2QEdub/ONUDw7TUly0nACqfCeQOIGlbcBqqisS4MWrBvVcua x1sn0He1C9z+dN14gXo1X3tyX2hETZXfXSikIT2eT26Yl0Pmp7eLx7aVnbWoWZJsSH8T dexw== 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 c15-v6si3339137pgw.550.2018.07.04.07.57.08; Wed, 04 Jul 2018 07:57:23 -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 S1752573AbeGDOzd (ORCPT + 99 others); Wed, 4 Jul 2018 10:55:33 -0400 Received: from smtp-out6.electric.net ([192.162.217.181]:64807 "EHLO smtp-out6.electric.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751930AbeGDOzc (ORCPT ); Wed, 4 Jul 2018 10:55:32 -0400 Received: from 1fajBn-0007v8-TO by out6a.electric.net with emc1-ok (Exim 4.90_1) (envelope-from ) id 1fajBo-00085n-V9; Wed, 04 Jul 2018 07:55:28 -0700 Received: by emcmailer; Wed, 04 Jul 2018 07:55:28 -0700 Received: from [156.67.243.126] (helo=AcuMS.aculab.com) by out6a.electric.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fajBn-0007v8-TO; Wed, 04 Jul 2018 07:55:27 -0700 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 4 Jul 2018 15:57:06 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Wed, 4 Jul 2018 15:57:06 +0100 From: David Laight To: 'Neal Cardwell' , Jonathan Maxwell CC: David Miller , Eric Dumazet , Alexey Kuznetsov , Hideaki YOSHIFUJI , Netdev , LKML , "jmaxwell@redhat.com" Subject: RE: [net-next,v2] tcp: Improve setsockopt() TCP_USER_TIMEOUT accuracy Thread-Topic: [net-next,v2] tcp: Improve setsockopt() TCP_USER_TIMEOUT accuracy Thread-Index: AQHUE6GITG1Yyx96e0+vOBao1IhTiaR/JQww Date: Wed, 4 Jul 2018 14:57:06 +0000 Message-ID: <2a78c5cbb53248289b54505aece15584@AcuMS.aculab.com> References: <20180704000608.17360-1-jmaxwell37@gmail.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.33] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Outbound-IP: 156.67.243.126 X-Env-From: David.Laight@ACULAB.COM X-Proto: esmtps X-Revdns: X-HELO: AcuMS.aculab.com X-TLS: TLSv1.2:ECDHE-RSA-AES256-SHA384:256 X-Authenticated_ID: X-PolicySMART: 3396946, 3397078 X-Virus-Status: Scanned by VirusSMART (c) X-Virus-Status: Scanned by VirusSMART (s) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTmVhbCBDYXJkd2VsbA0KPiBTZW50OiAwNCBKdWx5IDIwMTggMTU6MTQNCj4gDQo+IE9u IFR1ZSwgSnVsIDMsIDIwMTggYXQgODowNiBQTSBKb24gTWF4d2VsbCA8am1heHdlbGwzN0BnbWFp bC5jb20+IH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