mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
af22a169c1
If the dnsmasq process forks to handle TCP connections, it closes the ubus context. But instead of changing the daemon wide pointer to NULL, only the local variable was adjusted - and this portion of the code was even dropped (dead store) by some optimizing compilers. It makes more sense to change the daemon->ubus pointer because various functions are already checking it for NULL. It is also the behavior which ubus_destroy() implements. Fixes: |
||
---|---|---|
.. | ||
bridger | ||
dnsmasq | ||
dropbear | ||
ead | ||
hostapd | ||
ipset-dns | ||
lldpd | ||
odhcpd | ||
omcproxy | ||
ppp | ||
relayd | ||
uhttpd | ||
umdns | ||
unetd | ||
ustp |