summaryrefslogtreecommitdiffstats
path: root/fs/afs/addr_list.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-06-15 15:19:10 +0100
committerDavid Howells <dhowells@redhat.com>2018-06-15 15:27:09 +0100
commitc88d5a7fff2ef9aeed8aebb06f59d565693d0634 (patch)
treea62a05e4210bc82f6cabfda3594072fbc118208f /fs/afs/addr_list.c
parent0aac4bce4b49e58c43181d293da491cd2bdba6c7 (diff)
downloadlinux-c88d5a7fff2ef9aeed8aebb06f59d565693d0634.tar.gz
linux-c88d5a7fff2ef9aeed8aebb06f59d565693d0634.tar.bz2
linux-c88d5a7fff2ef9aeed8aebb06f59d565693d0634.zip
afs: Enable IPv6 DNS lookups
Remove the restriction on DNS lookup upcalls that prevents ipv6 addresses from being looked up. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/addr_list.c')
-rw-r--r--fs/afs/addr_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/addr_list.c b/fs/afs/addr_list.c
index 7587fb665ff1..b49ccae07875 100644
--- a/fs/afs/addr_list.c
+++ b/fs/afs/addr_list.c
@@ -216,7 +216,7 @@ struct afs_addr_list *afs_dns_query(struct afs_cell *cell, time64_t *_expiry)
_enter("%s", cell->name);
ret = dns_query("afsdb", cell->name, cell->name_len,
- "ipv4", &vllist, _expiry);
+ "", &vllist, _expiry);
if (ret < 0)
return ERR_PTR(ret);