openwrt/package/network/services
Sven Eckelmann af22a169c1 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>
(cherry picked from commit 711dcb7763)
2024-03-18 21:55:47 +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 2024-03-18 21:55:47 +01:00
dropbear dropbear: cherry-pick upstream patches 2024-03-15 23:53:01 +01:00
ead ead: fix resource leak in tinysrp 2020-01-05 19:36:46 +01:00
hostapd hostapd: fix 11r defaults when using WPA 2024-03-06 14:05:22 +01:00
ipset-dns build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
lldpd lldpd: update to 1.0.17 2023-05-24 19:26:19 +01:00
odhcpd odhcpd: Bump to latest commits 2023-11-03 08:27:52 +01:00
omcproxy omcproxy: bump to git HEAD 2021-11-04 15:04:45 +02:00
ppp treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
relayd relayd: bump to version 2023-01-28 2023-01-28 20:24:22 +01:00
uhttpd uhttpd: handle reload after uhttpd-mod-ubus installation using postinst 2024-01-27 10:36:43 +01:00
umdns umdns: update to Git 7c675979 (2024-03-04) 2024-03-08 07:56:44 +00:00
unetd unetd: update to the latest version 2023-06-12 22:10:17 +02:00
ustp treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00