mptcp: export local_address
authorGeliang Tang <geliang.tang@suse.com>
Thu, 8 Jun 2023 13:20:49 +0000 (15:20 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 10 Jun 2023 07:05:59 +0000 (00:05 -0700)
commitdc886bce753cc2cf3c88ec5c7a6880a4e17d65ba
treee3fa842a3b95cfe2e38c7b2f62d9b3d6e16b55eb
parentcde11936cffb7280eb48b5e118ea8f5a03aad0ae
mptcp: export local_address

Rename local_address() with "mptcp_" prefix and export it in protocol.h.

This function will be re-used in the common PM code (pm.c) in the
following commit.

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/pm_netlink.c
net/mptcp/protocol.h