nuttx/libs/libc/netdb
daichuan c7386775a7 libc/netdb: avoid unnecessary DNS notify if nameserver exists
If the nameserver already exists, return directly without calling dns_notify_nameserver to prevent cyclic notifications and high CPU usage.

Signed-off-by: daichuan <daichuan@xiaomi.com>
2026-01-15 16:20:44 -03:00
..
CMakeLists.txt netdb/lib_dnsdelserver.c: support delete the DNS server address 2025-11-08 16:17:40 -03:00
Kconfig libs/libc/netdb: Optimize the timeout calculation logic: 2025-08-06 01:58:05 +08:00
lib_dn.c
lib_dns.h libs/libc/netdb: Optimize the timeout calculation logic: 2025-08-06 01:58:05 +08:00
lib_dnsaddserver.c libc/netdb: avoid unnecessary DNS notify if nameserver exists 2026-01-15 16:20:44 -03:00
lib_dnsbind.c libs/libc/netdb: Optimize the timeout calculation logic: 2025-08-06 01:58:05 +08:00
lib_dnscache.c
lib_dnsdefaultserver.c
lib_dnsdelserver.c netdb/lib_dnsdelserver.c: support delete the DNS server address 2025-11-08 16:17:40 -03:00
lib_dnsforeach.c netdb: fix may add duplicate DNS servers 2024-10-12 14:20:08 +08:00
lib_dnsinit.c
lib_dnsnotify.c libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
lib_dnsquery.c style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
lib_dnsqueryfamily.c
lib_freeaddrinfo.c
lib_gaistrerror.c
lib_getaddrinfo.c style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
lib_gethostbyaddr.c
lib_gethostbyaddrr.c libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
lib_gethostbyname.c
lib_gethostbyname2.c
lib_gethostbyname2r.c
lib_gethostbynamer.c
lib_gethostentbynamer.c libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
lib_getnameinfo.c
lib_getservbyname.c
lib_getservbynamer.c
lib_getservbyport.c
lib_getservbyportr.c
lib_netdb.c
lib_netdb.h
lib_parsehostfile.c style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
lib_proto.c
lib_protor.c
lib_rexec.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
Make.defs netdb/lib_dnsdelserver.c: support delete the DNS server address 2025-11-08 16:17:40 -03:00