openwrt/package/network/services
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
..
bridger bridger: update to the latest version 2023-05-12 21:18:31 +02:00
dnsmasq dnsmasq: mark global ubus context as closed after fork 2023-11-26 19:58:35 +01:00
dropbear dropbear: add ed25519 for failsafe key 2023-07-26 14:00:01 +02:00
ead ead: fix resource leak in tinysrp 2020-01-05 19:36:46 +01:00
hostapd hostapd: add missing acl entries for udebug 2023-11-20 14:10:27 +01:00
ipset-dns build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
lldpd lldpd: add lldp_syscapabilities config option 2023-09-24 17:07:28 +02:00
odhcpd odhcpd: Bump to latest commits 2023-10-28 22:33:32 +01:00
omcproxy omcproxy: bump to git HEAD 2021-11-04 15:04:45 +02:00
ppp ppp: backport patches improving ppp interface creation 2023-06-14 05:40:26 +02:00
relayd relayd: bump to version 2023-01-28 2023-01-28 20:24:22 +01:00
uhttpd uhttpd: update to latest git HEAD 2023-06-25 22:48:55 +02:00
umdns umdns: update to Git HEAD (2023-11-21) 2023-11-21 07:36:08 +01:00
unetd unetd: update to the latest version 2023-06-04 16:54:52 +02:00
ustp treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00