selftests: mptcp: enable checksum in mptcp_connect.sh
authorGeliang Tang <geliangtang@gmail.com>
Thu, 17 Jun 2021 23:46:21 +0000 (16:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 18:40:11 +0000 (11:40 -0700)
commit94d66ba1d8e4803066b9c6a16274343a425ed1bf
tree59240224cf7d6f7cbbbb074493b877cb9af564ef
parent401e3030e68f1c761a7137dc6f0cf39f585ab4bd
selftests: mptcp: enable checksum in mptcp_connect.sh

This patch added a new argument "-C" for the mptcp_connect.sh script to
set the sysctl checksum_enabled to 1 in ns1, ns2, ns3 and ns4 to enable
the data checksum.

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: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_connect.sh