Thread (4 messages) 4 messages, 3 authors, 2016-09-28

Re: [PATCH v3 net-next] tcp: Change txhash on every SYN and RTO retransmit

flat view

From: Lawrence Brakmo <hidden>
Date: 2016-09-28 05:07:25

Neal and Yuchung, thank you for the feedback. I¹ve submitted v4 with your
recommended changes.

Thanks,
Larry

On 9/27/16, 6:28 PM, "Neal Cardwell" [off-list ref] wrote:
On Tue, Sep 27, 2016 at 8:18 PM, Yuchung Cheng [off-list ref] wrote:
quoted
On Tue, Sep 27, 2016 at 4:31 PM, Lawrence Brakmo [off-list ref] wrote:
quoted
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help