From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Brakmo Subject: Re: [PATCH v3 net-next] tcp: Change txhash on every SYN and RTO retransmit Date: Wed, 28 Sep 2016 05:07:16 +0000 Message-ID: References: <20160927233123.2447232-1-brakmo@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: netdev , Kernel Team , "Eric Dumazet" To: Neal Cardwell , Yuchung Cheng Return-path: Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:55158 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751652AbcI1FHZ (ORCPT ); Wed, 28 Sep 2016 01:07:25 -0400 In-Reply-To: Content-Language: en-US Content-ID: <4AE4E15BEE9AF24D9983B5D229A581E9@namprd15.prod.outlook.com> Sender: netdev-owner@vger.kernel.org List-ID: Neal and Yuchung, thank you for the feedback. I=B9ve submitted v4 with your recommended changes. Thanks, Larry On 9/27/16, 6:28 PM, "Neal Cardwell" wrote: >On Tue, Sep 27, 2016 at 8:18 PM, Yuchung Cheng wrote: >> On Tue, Sep 27, 2016 at 4:31 PM, Lawrence Brakmo wrote: >>> @@ -213,6 +215,8 @@ static int tcp_write_timeout(struct sock *sk) >>> tcp_mtu_probing(icsk, sk); >>> >>> dst_negative_advice(sk); >>> + } else if (prandom_u32_max(100) < >>>sysctl_tcp_rto_txhash_prob) { >> The sysctl is not really needed but that's just my opinion. > >I agree that it sounds nice to simplify by not having a sysctl for >this and always calling sk_rethink_txhash() here. > >neal