Message ID | f46dabaf1055b87b5613b126372d9e506c178264.1620282930.git.geliangtang@gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Mat Martineau |
Headers | show |
Series | Please ignore: resending some patches for patchwork.kernel.org | expand |
diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c index 659b8842ae3b..efd84ff61015 100644 --- a/net/mptcp/subflow.c +++ b/net/mptcp/subflow.c @@ -906,6 +906,8 @@ static enum mapping_status validate_data_csum(struct sock *ssk, struct sk_buff * csum = csum_partial(&header, sizeof(header), subflow->map_data_csum); if (unlikely(csum_fold(csum))) { MPTCP_INC_STATS(sock_net(ssk), MPTCP_MIB_DSSCSUMERR); + subflow->send_mp_fail = 1; + subflow->fail_seq = subflow->map_seq; return subflow->mp_join ? MAPPING_INVALID : MAPPING_DUMMY; }