mptcp: add MP_FAIL response support
authorGeliang Tang <geliang.tang@suse.com>
Tue, 26 Apr 2022 21:57:14 +0000 (14:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Apr 2022 09:45:54 +0000 (10:45 +0100)
commit9c81be0dbc89ccb76ce34c3a88425bf3a0d57ebb
treeb621f259c152b69feda0ae214ed3b0ea3f401b2b
parent4293248c6704b854bf816aa1967e433402bee11c
mptcp: add MP_FAIL response support

This patch adds a new struct member mp_fail_response_expect in struct
mptcp_subflow_context to support MP_FAIL response. In the single subflow
with checksum error and contiguous data special case, a MP_FAIL is sent
in response to another MP_FAIL.

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm.c
net/mptcp/protocol.h
net/mptcp/subflow.c