diff options
author | Matthieu Baerts <[email protected]> | 2023-06-08 18:38:46 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-10 00:02:16 -0700 |
commit | 06b03083158e90d57866fa220de92c8dd8b9598b (patch) | |
tree | 751e4bc4a10cf6daa5d2e61f00eda37801728a8f /lib/mpi/mpi-bit.c | |
parent | 4ad39a42da2e9770c8e4c37fe632ed8898419129 (diff) |
selftests: mptcp: connect: skip TFO tests if not supported
Selftests are supposed to run on any kernels, including the old ones not
supporting all MPTCP features.
One of them is the support of TCP_FASTOPEN socket option with MPTCP
connections introduced by commit 4ffb0a02346c ("mptcp: add TCP_FASTOPEN
sock option").
It is possible to look for "mptcp_fastopen_" in kallsyms to know if the
feature is supported or not.
Link: https://github.com/multipath-tcp/mptcp_net-next/issues/368
Fixes: ca7ae8916043 ("selftests: mptcp: mptfo Initiator/Listener")
Cc: [email protected]
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions