Re: [PATCH net 2/4] net/smc: do not credit stale CDC completions after a link switch

From: Sidraya Jayagond

Date: Thu Nov 26 2026 - 01:43:28 EST


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@xxxxxxxxxx/