summaryrefslogtreecommitdiffstats
path: root/net/mptcp/protocol.h
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@gmail.com>2021-03-12 17:16:14 -0800
committerDavid S. Miller <davem@davemloft.net>2021-03-12 17:47:45 -0800
commitb5c55f334c7f75b59b2d14be0abb7c827a016059 (patch)
tree2a52fbd03b79b484ab502ccc63c89fdbe1c6f806 /net/mptcp/protocol.h
parent5c4a824dcb589f3da2574dd99e761063e7d5529d (diff)
downloadlinux-b5c55f334c7f75b59b2d14be0abb7c827a016059.tar.bz2
mptcp: add rm_list_rx in mptcp_pm_data
This patch added a new member rm_list_rx for struct mptcp_pm_data as an list of the removing address ids on the incoming direction. Initialized its nr field to zero in mptcp_pm_data_init. In mptcp_pm_rm_addr_received, set it as the input rm_list. Signed-off-by: Geliang Tang <geliangtang@gmail.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/protocol.h')
-rw-r--r--net/mptcp/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h
index d7daf7e0d5d2..82a63abf2c7e 100644
--- a/net/mptcp/protocol.h
+++ b/net/mptcp/protocol.h
@@ -208,6 +208,7 @@ struct mptcp_pm_data {
u8 subflows;
u8 status;
struct mptcp_rm_list rm_list_tx;
+ struct mptcp_rm_list rm_list_rx;
u8 rm_id;
};