Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B068C4167B for ; Mon, 15 Nov 2021 17:21:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 315F363241 for ; Mon, 15 Nov 2021 17:21:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237770AbhKORYC (ORCPT ); Mon, 15 Nov 2021 12:24:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:52500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236830AbhKORNR (ORCPT ); Mon, 15 Nov 2021 12:13:17 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3F01063232; Mon, 15 Nov 2021 17:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1636996221; bh=Hlji+LLVNkZnX8ND4sLQCiVlp7TdFoLDeUlrDta5d+0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lJs4922bXLcBhICfIHL2zmRdOMgx9SLYR2apCuKFc6Y7Iq4Tc5HOXclgjuFZ7vwBm wsDwQjg/23c2vAHNH9FGZNVLe1nY0n4HMGMp2zwnE/80BYTrTjlcIxSpjl/HLRcL7x 2PM6tC6tuOarIxYLlq+bfxrRM36JQSEbB5p+7GE8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wen Gu , Tony Lu , "David S. Miller" , Sasha Levin Subject: [PATCH 5.4 059/355] net/smc: Correct spelling mistake to TCPF_SYN_RECV Date: Mon, 15 Nov 2021 17:59:43 +0100 Message-Id: <20211115165315.718839641@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211115165313.549179499@linuxfoundation.org> References: <20211115165313.549179499@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wen Gu [ Upstream commit f3a3a0fe0b644582fa5d83dd94b398f99fc57914 ] There should use TCPF_SYN_RECV instead of TCP_SYN_RECV. Signed-off-by: Wen Gu Reviewed-by: Tony Lu Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- net/smc/af_smc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c index 51986f7ead819..2b3c13a0b2e5b 100644 --- a/net/smc/af_smc.c +++ b/net/smc/af_smc.c @@ -783,7 +783,7 @@ static void smc_connect_work(struct work_struct *work) if (smc->clcsock->sk->sk_err) { smc->sk.sk_err = smc->clcsock->sk->sk_err; } else if ((1 << smc->clcsock->sk->sk_state) & - (TCPF_SYN_SENT | TCP_SYN_RECV)) { + (TCPF_SYN_SENT | TCPF_SYN_RECV)) { rc = sk_stream_wait_connect(smc->clcsock->sk, &timeo); if ((rc == -EPIPE) && ((1 << smc->clcsock->sk->sk_state) & -- 2.33.0