]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ab3466cc6814914f265960cda3a80512d9a970c
treeb621f259c152b69feda0ae214ed3b0ea3f401b2b
parent2b58adbf189ec9c5b3b2c3f7fc73e2a3a0c11300
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