]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dns_resolver: Allow used keys to be invalidated
authorDavid Howells <dhowells@redhat.com>
Fri, 3 May 2019 17:26:55 +0000 (18:26 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 15 May 2019 16:35:54 +0000 (17:35 +0100)
commitd0660f0b3b7d1760d1ab60ec8e9d0de52e885207
tree9ab40b7b55492fbaeede2311afb643c5cadf2b75
parentca1cbbdce92bc2bfdc17e4f70ad41f6e6af2d03f
dns_resolver: Allow used keys to be invalidated

Allow used DNS resolver keys to be invalidated after use if the caller is
doing its own caching of the results.  This reduces the amount of resources
required.

Fix AFS to invalidate DNS results to kill off permanent failure records
that get lodged in the resolver keyring and prevent future lookups from
happening.

Fixes: 0a5143f2f89c ("afs: Implement VL server rotation")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/addr_list.c
fs/afs/dynroot.c
fs/cifs/dns_resolve.c
fs/nfs/dns_resolve.c
include/linux/dns_resolver.h
net/ceph/messenger.c
net/dns_resolver/dns_query.c