diff options
| author | Matthieu Baerts <[email protected]> | 2023-06-08 16:38:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-06-10 07:02:16 +0000 |
| commit | b631e3a4e94c77c9007d60b577a069c203ce9594 (patch) | |
| tree | 1cc4e79fc0301527b0d24317ecae98be3b89ace0 /drivers/net/wan/lapbether.c | |
| parent | selftests: mptcp: sockopt: skip getsockopt checks if not supported (diff) | |
| download | kernel-b631e3a4e94c77c9007d60b577a069c203ce9594.tar.gz kernel-b631e3a4e94c77c9007d60b577a069c203ce9594.zip | |
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: [email protected]
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions
