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
Kconfig
lib_dn.c
lib_dns.h
lib_dnsaddserver.c libc/netdb: avoid unnecessary DNS notify if nameserver exists 2026-01-15 16:20:44 -03:00
lib_dnsbind.c
lib_dnscache.c
lib_dnsdefaultserver.c
lib_dnsdelserver.c
lib_dnsforeach.c
lib_dnsinit.c
lib_dnsnotify.c
lib_dnsquery.c
lib_dnsqueryfamily.c
lib_freeaddrinfo.c
lib_gaistrerror.c
lib_getaddrinfo.c
lib_gethostbyaddr.c
lib_gethostbyaddrr.c
lib_gethostbyname.c
lib_gethostbyname2.c
lib_gethostbyname2r.c
lib_gethostbynamer.c
lib_gethostentbynamer.c
lib_getnameinfo.c
lib_getservbyname.c
lib_getservbynamer.c
lib_getservbyport.c
lib_getservbyportr.c
lib_netdb.c
lib_netdb.h
lib_parsehostfile.c
lib_proto.c
lib_protor.c
lib_rexec.c
Make.defs