Message ID | 1699329376-17596-1-git-send-email-alibuda@linux.alibaba.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net] net/smc: avoid data corruption caused by decline | expand |
On Tue, 7 Nov 2023 11:56:16 +0800 D. Wythe wrote: > This issue requires an immediate solution, since the protocol updates > involve a more long-term solution. Please provide an appropriate Fixes tag.
On 11/8/23 10:38 AM, Jakub Kicinski wrote: > On Tue, 7 Nov 2023 11:56:16 +0800 D. Wythe wrote: >> This issue requires an immediate solution, since the protocol updates >> involve a more long-term solution. > Please provide an appropriate Fixes tag. Thanks for reminder. D. Wythe
diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c index abd2667..5b91f55 100644 --- a/net/smc/af_smc.c +++ b/net/smc/af_smc.c @@ -599,7 +599,7 @@ static int smcr_clnt_conf_first_link(struct smc_sock *smc) int rc; /* receive CONFIRM LINK request from server over RoCE fabric */ - qentry = smc_llc_wait(link->lgr, NULL, SMC_LLC_WAIT_TIME, + qentry = smc_llc_wait(link->lgr, NULL, 2 * SMC_LLC_WAIT_TIME, SMC_LLC_CONFIRM_LINK); if (!qentry) { struct smc_clc_msg_decline dclc;