openwrt/package
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
..
base-files base-files: ipcalc.sh: Should take netmask or prefix after slash 2023-11-19 20:36:40 +00:00
boot uboot-rockchip: add NanoPi R5C support 2023-11-26 19:44:56 +01:00
devel devel/gdb: Disable libzstd explicitly 2023-11-13 15:41:03 +01:00
firmware linux-firmware: intel: add firmware for AX101 2023-11-25 00:39:11 +01:00
kernel mwlwifi: update to version 10.4.10-20231120 2023-11-25 16:02:27 +01:00
libs udebug: update to Git HEAD (2023-11-20) 2023-11-20 23:03:48 +01:00
network dnsmasq: mark global ubus context as closed after fork 2023-11-26 19:58:35 +01:00
system ubus: update to Git HEAD (2023-11-14) 2023-11-20 14:10:24 +01:00
utils f2fs-tools: avoid dead symlinks in root 2023-11-25 17:55:03 +01:00
Makefile build: add CycloneDX SBOM JSON support 2023-11-01 11:14:41 +00:00