]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/mptcp/pm.c
mptcp: add rm_list in mptcp_options_received
authorGeliang Tang <geliangtang@gmail.com>
Sat, 13 Mar 2021 01:16:13 +0000 (17:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 01:47:45 +0000 (17:47 -0800)
commit5c4a824dcb589f3da2574dd99e761063e7d5529d
treed70bd1882ebf4eb2190a81b4d2cdf35c351f9eea
parentcbde2787189632160a2fc09786d17648a8b191c5
mptcp: add rm_list in mptcp_options_received

This patch changed the member rm_id in struct mptcp_options_received as a
list of the removing address ids, and renamed it to rm_list.

In mptcp_parse_option, parsed the RM_ADDR suboption and filled them into
the rm_list in struct mptcp_options_received.

In mptcp_incoming_options, passed this rm_list to the function
mptcp_pm_rm_addr_received.

It also changed the parameter type of mptcp_pm_rm_addr_received.

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>
net/mptcp/options.c
net/mptcp/pm.c
net/mptcp/protocol.h