]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: add rm_list_rx in mptcp_pm_data
authorGeliang Tang <geliangtang@gmail.com>
Sat, 13 Mar 2021 01:16:14 +0000 (17:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 01:47:45 +0000 (17:47 -0800)
commit3d2dccdfddd0b8309a1d33320b4077444298f77f
tree2a52fbd03b79b484ab502ccc63c89fdbe1c6f806
parent682ed9e54efbd8f9442bcf3b1f38bdd8b9349a3c
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>
net/mptcp/pm.c
net/mptcp/protocol.h