Commit f874dff
committed
subsys: dns: resolve.c dns_resolve_close() fails to clean up DNS server
dns_resolve_close() fails to clean up DNS server slots when the context state is DNS_RESOLVE_CONTEXT_INACTIVE, leaving stale server configuration data that causes subsequent dns_resolve_init() calls to incorrectly detect "server already exists" and skip socket creation, breaking DNS resolution.
Signed-off-by: Zafer SEN [email protected]1 parent e438b57 commit f874dff
1 file changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2269 | 2269 | | |
2270 | 2270 | | |
2271 | 2271 | | |
2272 | | - | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
2273 | 2296 | | |
2274 | 2297 | | |
2275 | 2298 | | |
| |||
0 commit comments