commit | bad1686e1fadea28b56c83268b95c089671c9a89 | [log] [tgz] |
---|---|---|
author | Mattias Falk <mattias.falk@sonyericsson.com> | Mon Apr 04 16:12:35 2011 +0200 |
committer | Robert Greenwalt <rgreenwalt@google.com> | Wed Jul 20 15:09:24 2011 -0700 |
tree | baac29bbe1dcd013ffe3fa1bc968ac8234790f67 | |
parent | 57aadbb096a118dd33f9f16c67bd18dbb6b92c4a [diff] |
Don't reset caches when dns props change. This happens too frequently. We should flush a per-interface cache when it's dns server addrs changes. Change-Id: I8a691c96ce9a775160ef55ddb8f755d649041583
diff --git a/libc/netbsd/resolv/res_state.c b/libc/netbsd/resolv/res_state.c index 322ace9..e05846a 100644 --- a/libc/netbsd/resolv/res_state.c +++ b/libc/netbsd/resolv/res_state.c
@@ -170,7 +170,6 @@ pthread_setspecific( _res_key, NULL ); return NULL; } - _resolv_cache_reset(rt->_serial); return rt; }