Skip to content

Commit a32f07d

Browse files
committed
Merge branch 'SMC-fixes'
Tony Lu says: ==================== Fixes for SMC There are some fixes for SMC. v1->v2: - fix wrong email address. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 90a881f + f3a3a0f commit a32f07d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

net/smc/af_smc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ static void smc_connect_work(struct work_struct *work)
10571057
if (smc->clcsock->sk->sk_err) {
10581058
smc->sk.sk_err = smc->clcsock->sk->sk_err;
10591059
} else if ((1 << smc->clcsock->sk->sk_state) &
1060-
(TCPF_SYN_SENT | TCP_SYN_RECV)) {
1060+
(TCPF_SYN_SENT | TCPF_SYN_RECV)) {
10611061
rc = sk_stream_wait_connect(smc->clcsock->sk, &timeo);
10621062
if ((rc == -EPIPE) &&
10631063
((1 << smc->clcsock->sk->sk_state) &

net/smc/smc_llc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ void smc_llc_link_active(struct smc_link *link)
18221822
link->smcibdev->ibdev->name, link->ibport);
18231823
link->state = SMC_LNK_ACTIVE;
18241824
if (link->lgr->llc_testlink_time) {
1825-
link->llc_testlink_time = link->lgr->llc_testlink_time * HZ;
1825+
link->llc_testlink_time = link->lgr->llc_testlink_time;
18261826
schedule_delayed_work(&link->llc_testlink_wrk,
18271827
link->llc_testlink_time);
18281828
}

0 commit comments

Comments
 (0)