mptcp: store remote id from MP_JOIN SYN/ACK in local ctx
authorKishen Maloor <kishen.maloor@intel.com>
Mon, 2 May 2022 20:52:33 +0000 (13:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 May 2022 23:54:54 +0000 (16:54 -0700)
commit8a348392209ffdd70926253f014eec0c04dbf3e7
treeac076f5e9337b98d245c69c0077edf7f25a5e74d
parentb3b71bf915210969ef4807e39c8f037c40a05e76
mptcp: store remote id from MP_JOIN SYN/ACK in local ctx

This change reads the addr id assigned to the remote endpoint
of a subflow from the MP_JOIN SYN/ACK message and stores it
in the related subflow context. The remote id was not being
captured prior to this change, and will now provide a consistent
view of remote endpoints and their ids as seen through netlink
events.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Kishen Maloor <kishen.maloor@intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/subflow.c