openwrt/package/network
Felix Fietkau 41ec0c16a7 unetmsg: fix reconnect loop when RX authenticates before TX
When both peers connect simultaneously, the RX side can authenticate
before the TX handshake completes. network_check_auth() was sending a
ping on the unauthenticated TX channel, which gets rejected by the
remote's pre-auth handler as "Auth failed", killing the connection and
triggering an endless reconnect cycle.

Check chan.auth before interacting with the TX channel. If TX auth
hasn't completed yet, just schedule a reconnect timer - auth_data_cb
already handles state sync when TX auth completes.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 212040b5ca)
2026-02-16 08:09:16 +00:00
..
config wifi-scripts: ucode: fix ieee80211w default 2026-02-16 01:52:06 +01:00
ipv6 6in4: improve HE tunnel update procedure 2026-02-15 01:27:13 +01:00
services unetmsg: fix reconnect loop when RX authenticates before TX 2026-02-16 08:09:16 +00:00
utils iproute2: add cake_mq support 2026-02-11 02:12:22 +01:00