From bad1686e1fadea28b56c83268b95c089671c9a89 Mon Sep 17 00:00:00 2001 From: Mattias Falk Date: Mon, 4 Apr 2011 16:12:35 +0200 Subject: [PATCH] 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 --- libc/netbsd/resolv/res_state.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libc/netbsd/resolv/res_state.c b/libc/netbsd/resolv/res_state.c index 322ace966..e05846a93 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; }