Remove the restriction on DNS lookup upcalls that prevents ipv6 addresses from being looked up.
Unified · Split
| @@ -216,7 +216,7 @@ struct afs_addr_list *afs_dns_query(struct afs_cell *cell, time64_t *_expiry) · 215 unmodified lines | ||
| 216 | 216 | _enter("%s", cell->name); |
| 217 | 217 | |
| 218 | 218 | ret = dns_query("afsdb", cell->name, cell->name_len, |
| 219 | − "ipv4", &vllist, _expiry); | |
| 219 | + "", &vllist, _expiry); | |
| 220 | 220 | if (ret < 0) |
| 221 | 221 | return ERR_PTR(ret); |
| 222 | 222 | |
| @@ -46,7 +46,7 @@ static int afs_probe_cell_name(struct dentry *dentry) · 45 unmodified lines | ||
| 46 | 46 | return 0; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | − ret = dns_query("afsdb", name, len, "ipv4", NULL, NULL); | |
| 49 | + ret = dns_query("afsdb", name, len, "", NULL, NULL); | |
| 50 | 50 | if (ret == -ENODATA) |
| 51 | 51 | ret = -EDESTADDRREQ; |
| 52 | 52 | return ret; |