summaryrefslogtreecommitdiffstats
path: root/fs/afs/rxrpc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-10-20 01:57:57 +0200
committerDavid Howells <dhowells@redhat.com>2018-10-24 01:41:07 +0200
commitded2f4c58ac24083c536aa7d2ff2b73752a88612 (patch)
tree0a62c14ed24f5d0367466ad6c112a15958cede94 /fs/afs/rxrpc.c
parentafs: Implement VL server rotation (diff)
downloadlinux-ded2f4c58ac24083c536aa7d2ff2b73752a88612.tar.xz
linux-ded2f4c58ac24083c536aa7d2ff2b73752a88612.zip
afs: Fix TTL on VL server and address lists
Currently the TTL on VL server and address lists isn't set in all circumstances and may be set to poor choices in others, since the TTL is derived from the SRV/AFSDB DNS record if and when available. Fix the TTL by limiting the range to a minimum and maximum from the current time. At some point these can be made into sysctl knobs. Further, use the TTL we obtained from the upcall to set the expiry on negative results too; in future a mechanism can be added to force reloading of such data. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/rxrpc.c')
0 files changed, 0 insertions, 0 deletions