+16
−0
+6
−1
Loading
Merge Pull Request from: @geliangtang mptcp: check the protocol with DEBUG_NET Recently, Paolo fixed a bug where a TCP-specific helper was used with an MPTCP socket [1]. The bug was not detected by fuzzer or static analysis. Following this, it has been suggested to add a check, only in debug mode. This is what this series is doing. The series has been split to be upstreamed: a preparation patch for MPTCP, the modification for TCP, then for MPTCP. It is not clear if it would be OK to add that upstream. If not, we can squash these three patches in "DO-NOT-MERGE: mptcp: improve code coverage for CI" commit we have in our export tree. Note that the MPTCP Token kUnit test needs to be adapted for this new check. This is what is done in patch 1/3. Link:https://gitee.com/openeuler/kernel/pulls/12715 Reviewed-by:Yue Haibing <yuehaibing@huawei.com> Signed-off-by:
Zhang Peng <zhangpeng362@huawei.com>