Patch "selftests: mptcp: fix case multiple subflows limited by server" has been added to the 5.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests: mptcp: fix case multiple subflows limited by server

to the 5.13-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-mptcp-fix-case-multiple-subflows-limited-b.patch
and it can be found in the queue-5.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1dc7f9b4af96d2370b1634517ed99f364351e330
Author: Jianguo Wu <wujianguo@xxxxxxxxxxxxxxx>
Date:   Fri Jul 9 17:20:50 2021 -0700

    selftests: mptcp: fix case multiple subflows limited by server
    
    [ Upstream commit a7da441621c7945fbfd43ed239c93b8073cda502 ]
    
    After patch "mptcp: fix syncookie process if mptcp can not_accept new
    subflow", if subflow is limited, MP_JOIN SYN is dropped, and no SYN/ACK
    will be replied.
    
    So in case "multiple subflows limited by server", the expected SYN/ACK
    number should be 1.
    
    Fixes: 00587187ad30 ("selftests: mptcp: add test cases for mptcp join tests with syn cookies")
    Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
    Signed-off-by: Jianguo Wu <wujianguo@xxxxxxxxxxxxxxx>
    Signed-off-by: Mat Martineau <mathew.j.martineau@xxxxxxxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testing/selftests/net/mptcp/mptcp_join.sh
index fd99485cf2a4..e8ac852c6ff6 100755
--- a/tools/testing/selftests/net/mptcp/mptcp_join.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh
@@ -1341,7 +1341,7 @@ syncookies_tests()
 	ip netns exec $ns2 ./pm_nl_ctl add 10.0.3.2 flags subflow
 	ip netns exec $ns2 ./pm_nl_ctl add 10.0.2.2 flags subflow
 	run_tests $ns1 $ns2 10.0.1.1
-	chk_join_nr "subflows limited by server w cookies" 2 2 1
+	chk_join_nr "subflows limited by server w cookies" 2 1 1
 
 	# test signal address with cookies
 	reset_with_cookies



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux