David Howells 5f7798f053 rxrpc: Make rxrpc_kernel_get_srtt() indicate validity
[ Upstream commit 1d4adfaf65746203861c72d9d78de349eb97d528 ]

Fix rxrpc_kernel_get_srtt() to indicate the validity of the returned
smoothed RTT.  If we haven't had any valid samples yet, the SRTT isn't
useful.

Fixes: c410bf01933e ("rxrpc: Fix the excessive initial retransmission timeout")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-09 19:12:23 +02:00
..
2019-07-08 19:36:47 -07:00
2020-06-30 15:37:02 -04:00
2020-06-24 17:50:46 +02:00
2020-06-30 15:37:02 -04:00
2020-01-09 10:19:48 +01:00
2019-09-02 11:43:54 +01:00
2019-07-10 20:55:33 -07:00