Skip to content
Commit c3d2f541 authored by David Howells's avatar David Howells Committed by Paul Gortmaker
Browse files

rxrpc: Make rxrpc_kernel_get_srtt() indicate validity



commit 1d4adfaf upstream.

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: c410bf01 ("rxrpc: Fix the excessive initial retransmission timeout")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent ae4f60be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment