summaryrefslogtreecommitdiffstats
path: root/libc/netbsd
diff options
context:
space:
mode:
authorMattias Falk <mattias.falk@sonyericsson.com>2011-04-04 16:12:35 +0200
committerRobert Greenwalt <rgreenwalt@google.com>2011-07-20 15:09:24 -0700
commitbad1686e1fadea28b56c83268b95c089671c9a89 (patch)
treebaac29bbe1dcd013ffe3fa1bc968ac8234790f67 /libc/netbsd
parent57aadbb096a118dd33f9f16c67bd18dbb6b92c4a (diff)
downloadbionic-bad1686e1fadea28b56c83268b95c089671c9a89.zip
bionic-bad1686e1fadea28b56c83268b95c089671c9a89.tar.gz
bionic-bad1686e1fadea28b56c83268b95c089671c9a89.tar.bz2
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
Diffstat (limited to 'libc/netbsd')
-rw-r--r--libc/netbsd/resolv/res_state.c1
1 files changed, 0 insertions, 1 deletions
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 @@ RESET_STATE:
pthread_setspecific( _res_key, NULL );
return NULL;
}
- _resolv_cache_reset(rt->_serial);
return rt;
}