hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/fs/cifs/dns_resolve.c
....@@ -77,7 +77,8 @@
7777 goto name_is_IP_address;
7878
7979 /* Perform the upcall */
80
- rc = dns_query(NULL, hostname, len, NULL, ip_addr, NULL);
80
+ rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len,
81
+ NULL, ip_addr, NULL, false);
8182 if (rc < 0)
8283 cifs_dbg(FYI, "%s: unable to resolve: %*.*s\n",
8384 __func__, len, len, hostname);