Matthieu Baerts b631e3a4e9 selftests: mptcp: sockopt: skip TCP_INQ checks if not supported
Selftests are supposed to run on any kernels, including the old ones not
supporting all MPTCP features.

One of them is TCP_INQ cmsg support introduced in commit 2c9e77659a0c
("mptcp: add TCP_INQ cmsg support").

It is possible to look for "mptcp_ioctl" in kallsyms because it was
needed to introduce the mentioned feature. We can skip these tests and
not set TCPINQ option if the feature is not supported.

Link: https://github.com/multipath-tcp/mptcp_net-next/issues/368
Fixes: 5cbd886ce2a9 ("selftests: mptcp: add TCP_INQ support")
Cc: stable@vger.kernel.org
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-06-10 00:02:16 -07:00
..
2023-04-24 12:28:34 -07:00
2023-04-29 10:05:22 -07:00
2023-02-23 09:37:29 -08:00
2023-06-03 08:23:16 -04:00
2023-02-23 09:37:29 -08:00
2023-04-18 16:53:52 -07:00
2023-05-04 13:09:43 -07:00
2023-04-25 11:05:04 -07:00
2023-04-24 12:16:14 -07:00
2023-02-23 09:37:29 -08:00
2023-03-01 09:27:00 -08:00
2023-04-11 14:10:47 -06:00