kernel/fs/cifs/dns_resolve.c
.. .. @@ -77,7 +77,8 @@ 77 77 goto name_is_IP_address; 78 78 79 79 /* 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);81 82 if (rc < 0) 82 83 cifs_dbg(FYI, "%s: unable to resolve: %*.*s\n", 83 84 __func__, len, len, hostname);