]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mptcp: MP_FAIL suboption receiving
authorGeliang Tang <geliangtang@xiaomi.com>
Tue, 24 Aug 2021 23:26:16 +0000 (16:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2021 10:02:34 +0000 (11:02 +0100)
commit5580d41b758af12134d5c6b4c385fc25d0c6bfb0
tree65118b49118bf677e80f987cf0d03ca3e9fab994
parentc25aeb4e095355eec3beb6a2b2b30322bd6d0dd4
mptcp: MP_FAIL suboption receiving

This patch added handling for receiving MP_FAIL suboption.

Add a new members mp_fail and fail_seq in struct mptcp_options_received.
When MP_FAIL suboption is received, set mp_fail to 1 and save the sequence
number to fail_seq.

Then invoke mptcp_pm_mp_fail_received to deal with the MP_FAIL suboption.

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