]> git.baikalelectronics.ru Git - kernel.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)
commitb949f7866590e42449167d0dbcbc6750829c52be
treef342b3db137bfbb54676d2f2bd041eea2883754d
parentaef75a840e7c034add1d52b37940dcd2edbd8db5
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: dafcda9f5d0c ("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