]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: add the flush addrs testcase
authorGeliang Tang <geliangtang@gmail.com>
Thu, 10 Dec 2020 22:25:00 +0000 (14:25 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Dec 2020 01:30:06 +0000 (17:30 -0800)
commit3d5034c12b955b287ddd49b621cf9344cd435cb2
treed2492fe95e1432200eedf11f11e4b3c72450d8fb
parent4fea91c49220c472ba1ff843081b47df6862518f
selftests: mptcp: add the flush addrs testcase

This patch added the flush addrs testcase. In do_transfer, if the number
of removing addresses is less than 8, use the del addr command to remove
the addresses one by one. If the number is more than 8, use the flush addrs
command to remove the addresses.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh