]> 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)
commit1811b6fb164e48b7335b1c930f8c9a5087ec13dc
treee6ec984b078128e85cb14dd93a360afdf85bc58b
parent6a6dfa253f6ac4d6f515cf4dc6cba1aba31535ad
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