]> git.ipfire.org Git - thirdparty/openwrt.git/commit
unetmsg: add null check in TX disconnect callback
authorFelix Fietkau <nbd@nbd.name>
Sun, 4 Jan 2026 10:04:58 +0000 (10:04 +0000)
committerFelix Fietkau <nbd@nbd.name>
Mon, 5 Jan 2026 11:43:40 +0000 (12:43 +0100)
commitf631d1576ddb331ceee726d876ea9c74a3553dbc
tree6c28cafdba27b35e6fe184c4b64d3cdfda278395
parentf5bf8c2b948201a8e1e62b47049ab9f7b9d842bf
unetmsg: add null check in TX disconnect callback

The network may be deleted before the disconnect callback fires.
Check for null to avoid crash when accessing net.tx_channels.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/unetmsg/files/usr/share/ucode/unetmsg/unetmsgd-remote.uc