mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-06-11 07:27:27 -04:00
network_close() only closed the listening socket without shutting down established RX/TX connections. This left remote state in core.remote_publish/core.remote_subscribe for hosts on the removed network, causing stale entries in channel listings and failed routing attempts. Close all RX and TX channels before removing the network, which also triggers remote state cleanup via network_rx_socket_close(). Signed-off-by: Felix Fietkau <nbd@nbd.name>