Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 4ffb0a0 ("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: multipath-tcp/mptcp_net-next#368 Fixes: ca7ae89 ("selftests: mptcp: mptfo Initiator/Listener") Signed-off-by: Matthieu Baerts <[email protected]>
- Loading branch information