openwrt/package/network
Sven Eckelmann 711dcb7763 dnsmasq: mark global ubus context as closed after fork
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: d8b33dad0b ("dnsmasq: add support for monitoring and modifying dns lookup results via ubus")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2023-11-26 19:58:35 +01:00
..
config netifd: update to Git HEAD (2023-11-20), adds udebug support 2023-11-20 19:18:06 +01:00
ipv6 package: avoid the use of eval to parse ipcalc.sh output 2023-09-25 15:02:49 +02:00
services dnsmasq: mark global ubus context as closed after fork 2023-11-26 19:58:35 +01:00
utils iptables: backport patch fixing bug with string module 2023-11-12 14:13:41 +01:00