db4840564d
When a7 curl calls dns_query via usrsock, it will wait a usrsock response with the dns lock held. If a7 rptun recv a dns_addnameserver event from another core at this time, rptun waits the lock held by curl in callback. Then curl will never get its usrsock response with rptun blocked, so the deadlock occurs. This change will break lock when do usrsock request. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> |
||
---|---|---|
.. | ||
Kconfig | ||
lib_dn.c | ||
lib_dns.h | ||
lib_dnsaddserver.c | ||
lib_dnsbind.c | ||
lib_dnscache.c | ||
lib_dnsdefaultserver.c | ||
lib_dnsforeach.c | ||
lib_dnsinit.c | ||
lib_dnsnotify.c | ||
lib_dnsquery.c | ||
lib_freeaddrinfo.c | ||
lib_gaistrerror.c | ||
lib_getaddrinfo.c | ||
lib_gethostbyaddr.c | ||
lib_gethostbyaddrr.c | ||
lib_gethostbyname2.c | ||
lib_gethostbyname2r.c | ||
lib_gethostbyname.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_rexec.c | ||
Make.defs |