mptcp: increase default max additional subflows to 2
authorPaolo Abeni <pabeni@redhat.com>
Fri, 15 Oct 2021 23:05:51 +0000 (16:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Oct 2021 07:46:08 +0000 (08:46 +0100)
commit72bcbc46a5c385961b9c167db79ad1f38f04e6a7
tree7da655849e7ce9d0667b2c39f76e51153fb217ee
parent29211e7db28ab12a4a5aaab4bcc080a3ac67ec78
mptcp: increase default max additional subflows to 2

The current default does not allowing additional subflows, mostly
as a safety restriction to avoid uncontrolled resource consumption
on busy servers.

Still the system admin and/or the application have to opt-in to
MPTCP explicitly. After that, they need to change (increase) the
default maximum number of additional subflows.

Let set that to reasonable default, and make end-users life easier.

Additionally we need to update some self-tests accordingly.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm_netlink.c
tools/testing/selftests/net/mptcp/mptcp_join.sh
tools/testing/selftests/net/mptcp/pm_netlink.sh