All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sidraya Jayagond <sidraya@linux.ibm.com>
To: Bryam Vargas <hexlabsecurity@proton.me>
Cc: Dust Li <dust.li@linux.alibaba.com>,
	Mahanta Jambigi <mjambigi@linux.ibm.com>,
	"D. Wythe" <alibuda@linux.alibaba.com>,
	Jakub Kicinski <kuba@kernel.org>,
	Eric Dumazet <edumazet@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Paolo Abeni <pabeni@redhat.com>,
	Guangguan Wang <guangguan.wang@linux.alibaba.com>,
	Tony Lu <tonylu@linux.alibaba.com>,
	netdev@vger.kernel.org, Wenjia Zhang <wenjia@linux.ibm.com>,
	Ursula Braun <ubraun@linux.ibm.com>,
	Hidayath Khan <hidayath@linux.ibm.com>,
	linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org,
	Simon Horman <horms@kernel.org>, Wen Gu <guwen@linux.alibaba.com>,
	Stefan Raspl <raspl@linux.ibm.com>,
	linux-rdma@vger.kernel.org
Subject: Re: [PATCH net 2/4] net/smc: do not credit stale CDC completions after a link switch
Date: Thu, 26 Nov 2026 07:21:38 +0100	[thread overview]
Message-ID: <83784e4c2e7a0df1e16a791dfe588f36@linux.ibm.com> (raw)
In-Reply-To: <20261113-b4-disp-1a9ab9b0-v1-2-4a7c8d85d849@proton.me>

The review comment on this patch looks valid: smc_switch_cursor() advances
conn->tx_curs_sent in place with smc_curs_add(), and a concurrent reader can
observe a torn cursor. This is pre-existing, but the series touches this code,
so please address it or explain why the current locking makes it safe.

Link: https://lore.kernel.org/all/sashiko-outbox-215218@kernel.org/

  parent reply	other threads:[~2026-11-26  6:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-14  4:14 [PATCH net 0/4] net/smc: fix the failover cursor switch and wrap rollover Bryam Vargas via B4 Relay
2026-11-14  4:14 ` Bryam Vargas
2026-11-14  4:14 ` [PATCH net 1/4] net/smc: take the socket spinlock across the failover cursor switch Bryam Vargas via B4 Relay
2026-11-14  4:14   ` Bryam Vargas
2026-11-15  4:14   ` sashiko-bot
2026-11-26  6:21   ` Sidraya Jayagond
2026-11-14  4:14 ` [PATCH net 2/4] net/smc: do not credit stale CDC completions after a link switch Bryam Vargas via B4 Relay
2026-11-14  4:14   ` Bryam Vargas
2026-11-15  4:14   ` sashiko-bot
2026-11-26  6:21   ` Sidraya Jayagond [this message]
2026-11-14  4:14 ` [PATCH net 3/4] net/smc: fix the failover catch-up across the cursor wrap rollover Bryam Vargas via B4 Relay
2026-11-14  4:14   ` Bryam Vargas
2026-11-15  4:14   ` sashiko-bot
2026-11-26  6:21   ` Sidraya Jayagond
2026-11-14  4:14 ` [PATCH net 4/4] net/smc: order the urgent mark " Bryam Vargas via B4 Relay
2026-11-14  4:14   ` Bryam Vargas
2026-11-15  4:14   ` sashiko-bot
2026-11-26  6:21   ` Sidraya Jayagond
2026-11-19  9:08 ` [PATCH net 0/4] net/smc: fix the failover cursor switch and " Paolo Abeni
2026-11-24  0:51   ` Jakub Kicinski
2026-11-26  6:21     ` Sidraya Jayagond
2026-11-26  9:22       ` Paolo Abeni

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=83784e4c2e7a0df1e16a791dfe588f36@linux.ibm.com \
    --to=sidraya@linux.ibm.com \
    --cc=alibuda@linux.alibaba.com \
    --cc=davem@davemloft.net \
    --cc=dust.li@linux.alibaba.com \
    --cc=edumazet@kernel.org \
    --cc=guangguan.wang@linux.alibaba.com \
    --cc=guwen@linux.alibaba.com \
    --cc=hexlabsecurity@proton.me \
    --cc=hidayath@linux.ibm.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=mjambigi@linux.ibm.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=raspl@linux.ibm.com \
    --cc=tonylu@linux.alibaba.com \
    --cc=ubraun@linux.ibm.com \
    --cc=wenjia@linux.ibm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.