]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
rxrpc: Make rxrpc_kernel_get_srtt() indicate validity
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Aug 2020 14:13:00 +0000 (15:13 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 20 Aug 2020 17:21:28 +0000 (18:21 +0100)
commit1d4adfaf65746203861c72d9d78de349eb97d528
tree324c9592cfe0c5c63a2fb2d29d74db421cab1a88
parent4700c4d80b7bb171f6996016ef121e1508860b42
rxrpc: Make rxrpc_kernel_get_srtt() indicate validity

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>
fs/afs/fs_probe.c
fs/afs/vl_probe.c
include/net/af_rxrpc.h
net/rxrpc/peer_object.c