]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tcp: fix tcp_probe_timer() for TCP_USER_TIMEOUT
authorEric Dumazet <edumazet@google.com>
Sun, 21 May 2017 17:39:00 +0000 (10:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 May 2017 17:50:34 +0000 (13:50 -0400)
commit4ab688793e086ef6d1744a0f803fe9770a1ae5d0
treef342b3db137bfbb54676d2f2bd041eea2883754d
parent0a9fc39e4105350601e59f2914d445f373fcdd8b
tcp: fix tcp_probe_timer() for TCP_USER_TIMEOUT

TCP_USER_TIMEOUT is still converted to jiffies value in
icsk_user_timeout

So we need to make a conversion for the cases HZ != 1000

Fixes: 9a568de4818d ("tcp: switch TCP TS option (RFC 7323) to 1ms clock")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_timer.c