]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: create listeners to receive MPJs
authorKishen Maloor <kishen.maloor@intel.com>
Wed, 4 May 2022 02:39:00 +0000 (19:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2022 09:49:32 +0000 (10:49 +0100)
commit35115b67304c1cfdcf7be707b69ab6129c86700b
treee6ec984b078128e85cb14dd93a360afdf85bc58b
parentf1a68e962a165a394eeffbe84159b4e09d26b7b8
selftests: mptcp: create listeners to receive MPJs

This change updates the "pm_nl_ctl" testing sample with a
"listen" option to bind a MPTCP listening socket to the
provided addr+port. This option is exercised in testing
subflow initiation scenarios in conjunction with userspace
path managers where the MPTCP application does not hold an
active listener to accept requests for new subflows.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Kishen Maloor <kishen.maloor@intel.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/pm_nl_ctl.c