]> 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)
commit87da3be14552ba359a88b6a5927a6387259c748a
treed2492fe95e1432200eedf11f11e4b3c72450d8fb
parentc1a3e47d3e3b67a95e1a950266301ce356e26a93
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