On Mon, Nov 30, 2026 at 04:01:57PM +0000, Tung Quang Nguyen wrote:
> I do not understand above writing. > Can you demonstrate by using current code (what functions, what lines) ?
Sure, this is on net-next f89726ffabef. A SEQPACKET or STREAM socket that isn't connected sends through __tipc_sendmsg() (for STREAM, via tipc_sendstream()). For a connection-oriented socket, __tipc_sendmsg() sets SYN in the socket's header at net/tipc/socket.c:1463, msg_set_syn(hdr, 1), before it looks at the address type. For a TIPC_SERVICE_RANGE destination it then calls tipc_sendmcast(), so the multicast goes out with SYN set. A range send doesn't connect the socket, so every later range send from it sets SYN again. On the receiving node, tipc_sk_filter_rcv() hands the message to tipc_mcast_filter_msg(), which puts a SYN message it can't match to a sync message on mc_method.deferredq instead of the receive queue. In my test the first range send from each socket got through, because tipc_mcast_xmit() also sent a sync message (tipc_mcast_send_sync()) when it chose the multicast method. The second one had no matching sync message and never reached the receiver.
> Can you demonstrate by using current code (what functions, what lines) ?
The patch changes that one line to msg_set_syn(hdr, atype != TIPC_SERVICE_RANGE), so a range send no longer sets SYN. TIPC_SERVICE_ADDR and TIPC_SOCKET_ADDR destinations still set it, so connection setup doesn't change.
> Please show me what KASAN reported ?
Nothing. KASAN was enabled in the test kernel and didn't report anything, with or without the patch. The problem isn't a memory error; the second range send just never arrives at the remote receiver.
> Definitely. I need your reproducer to understand the problem.
I'll send it to you off-list. Andrew