Commit 632978f
selftests: mptcp: join: skip MPC backups 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 sending an MP_PRIO signal for the initial
subflow, introduced by commit c157bbe ("mptcp: allow the in kernel
PM to set MPC subflow priority").
It is possible to look for "mptcp_subflow_send_ack" in kallsyms because
it was needed to introduce the mentioned feature. So we can know in
advance if the feature is supported instead of trying and accepting any
results.
Link: multipath-tcp/mptcp_net-next#368
Fixes: 914f6a5 ("selftests: mptcp: add MPC backup tests")
Cc: stable@vger.kernel.org
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent ff8897b commit 632978f
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2713 | 2713 | | |
2714 | 2714 | | |
2715 | 2715 | | |
2716 | | - | |
| 2716 | + | |
| 2717 | + | |
2717 | 2718 | | |
2718 | 2719 | | |
2719 | 2720 | | |
2720 | 2721 | | |
2721 | 2722 | | |
2722 | 2723 | | |
2723 | | - | |
| 2724 | + | |
| 2725 | + | |
2724 | 2726 | | |
2725 | 2727 | | |
2726 | 2728 | | |
2727 | 2729 | | |
2728 | 2730 | | |
2729 | 2731 | | |
2730 | 2732 | | |
2731 | | - | |
| 2733 | + | |
| 2734 | + | |
2732 | 2735 | | |
2733 | 2736 | | |
2734 | 2737 | | |
2735 | 2738 | | |
2736 | 2739 | | |
2737 | 2740 | | |
2738 | | - | |
| 2741 | + | |
| 2742 | + | |
2739 | 2743 | | |
2740 | 2744 | | |
2741 | 2745 | | |
| |||
0 commit comments