summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWen Gu <guwen@linux.alibaba.com>2021-10-28 15:13:47 +0800
committerDavid S. Miller <davem@davemloft.net>2021-10-28 13:04:28 +0100
commitf3a3a0fe0b644582fa5d83dd94b398f99fc57914 (patch)
treeb34fee7aafcd17dd6d1cf1f144762866e0ad17ab /net
parentc4a146c7cf5e8ad76231523b174d161bf152c6e7 (diff)
downloadlinux-f3a3a0fe0b644582fa5d83dd94b398f99fc57914.tar.bz2
net/smc: Correct spelling mistake to TCPF_SYN_RECV
There should use TCPF_SYN_RECV instead of TCP_SYN_RECV. Signed-off-by: Wen Gu <guwen@linux.alibaba.com> Reviewed-by: Tony Lu <tonylu@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/smc/af_smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/smc/af_smc.c b/net/smc/af_smc.c
index c038efc23ce3..78b663dbfa1f 100644
--- a/net/smc/af_smc.c
+++ b/net/smc/af_smc.c
@@ -1057,7 +1057,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) &