selftests: mptcp: fix ACKRX debug message
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Fri, 12 Feb 2021 23:20:28 +0000 (15:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:20:34 +0000 (16:20 -0800)
Info from received MPCapable SYN were printed instead of the ones from
received MPCapable 3rd ACK.

Fixes: fed61c4b584c ("selftests: mptcp: make 2nd net namespace use tcp syn cookies unconditionally")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_connect.sh

index 0c6b9d3c03c0aadb8c3055e9638a7fcce29cc9bd..9ab35ae41628989927934bfc91f63e86c80e34be 100755 (executable)
@@ -502,7 +502,7 @@ do_transfer()
                echo "${listener_ns} SYNRX: ${cl_proto} -> ${srv_proto}: expect ${expect_synrx}, got ${stat_synrx_now_l}"
        fi
        if [ $expect_ackrx -ne $stat_ackrx_now_l ] ;then
-               echo "${listener_ns} ACKRX: ${cl_proto} -> ${srv_proto}: expect ${expect_synrx}, got ${stat_synrx_now_l}"
+               echo "${listener_ns} ACKRX: ${cl_proto} -> ${srv_proto}: expect ${expect_ackrx}, got ${stat_ackrx_now_l} "
        fi
 
        if [ $retc -eq 0 ] && [ $rets -eq 0 ];then