OSDN Git Service

mptcp: read attributes of addr entries managed by userspace PMs
authorKishen Maloor <kishen.maloor@intel.com>
Wed, 4 May 2022 02:38:50 +0000 (19:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2022 09:49:31 +0000 (10:49 +0100)
commit8b20137012d9e521736c040328f8979cf0a144d0
treefbef4b0661d4fd033da3c7e0311ee3fea9d03c55
parent4638de5aefe56366726e5107a9da13ce5c84a1b7
mptcp: read attributes of addr entries managed by userspace PMs

This change introduces a parallel path in the kernel for retrieving
the local id, flags, if_index for an addr entry in the context of
an MPTCP connection that's being managed by a userspace PM. The
userspace and in-kernel PM modes deviate in their procedures for
obtaining this information.

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: David S. Miller <davem@davemloft.net>
net/mptcp/pm_netlink.c
net/mptcp/pm_userspace.c
net/mptcp/protocol.h
net/mptcp/subflow.c