mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tung Quang Nguyen <tung.quang.nguyen@est.tech>
To: Andrew Stellman <bugs@stellman-greene.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"tipc-discussion@lists.sourceforge.net"
	<tipc-discussion@lists.sourceforge.net>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Jon Maloy <jmaloy@redhat.com>
Subject: Re: [PATCH net] tipc: don't set SYN on multicast from connection-oriented sockets
Date: Mon, 30 Nov 2026 16:01:57 +0000	[thread overview]
Message-ID: <AM7P189MB11375DA66F9F1585FC19B774C64E2@AM7P189MB1137.EURP189.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <20261129144901.90934-1-bugs@stellman-greene.com>

> __tipc_sendmsg() sets the SYN bit on every message sent from an
> unconnected SEQPACKET or STREAM socket, including messages sent to a
> service range, which go out as multicast. A range send doesn't connect
> the socket, so every range send from it carries SYN.

I do not understand above writing.
Can you demonstrate by using current code (what functions, what lines) ?

> Don't set SYN when the destination is a service range. Connection
> setup to a service or socket address still sets it. 

Can you demonstrate by using current code (what functions, what lines) ?

> Tested on net-next (f89726ffabef) in arm64 QEMU with KASAN, with two
> TIPC nodes in network namespaces linked by veth, an unprivileged
> sender and RDM receivers with a 3-second receive timeout. Each socket
> made two range sends. Without this patch, in each of five runs, the
> remote receiver got the first range send from the SEQPACKET socket
> and the first from the STREAM socket, but not the second from either.
> With it, in each of two runs, it got all four. RDM multicast and a
> SEQPACKET unicast were received in every run, and KASAN reported
> nothing.

Please show me what KASAN reported ?

> A reproducer is available on request.

Definitely. I need your reproducer to understand the problem.

  reply	other threads:[~2026-11-30 16:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 14:49 Andrew Stellman
2026-11-30 16:01 ` Tung Quang Nguyen [this message]
2026-11-30 17:22   ` Andrew Stellman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM7P189MB11375DA66F9F1585FC19B774C64E2@AM7P189MB1137.EURP189.PROD.OUTLOOK.COM \
    --to=tung.quang.nguyen@est.tech \
    --cc=bugs@stellman-greene.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=jmaloy@redhat.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=tipc-discussion@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®