diff options
| author | Geliang Tang <[email protected]> | 2023-06-08 13:20:50 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-06-10 07:05:59 +0000 |
| commit | 9bbec87ecfe8a5c06710100a93e6b7e66f2cbbaf (patch) | |
| tree | 464719c001d141f260fd43c0389de515cd85bf20 /net/nsh/nsh.c | |
| parent | mptcp: export local_address (diff) | |
| download | kernel-9bbec87ecfe8a5c06710100a93e6b7e66f2cbbaf.tar.gz kernel-9bbec87ecfe8a5c06710100a93e6b7e66f2cbbaf.zip | |
mptcp: unify pm get_local_id interfaces
This patch unifies the three PM get_local_id() interfaces:
mptcp_pm_nl_get_local_id() in mptcp/pm_netlink.c for the in-kernel PM and
mptcp_userspace_pm_get_local_id() in mptcp/pm_userspace.c for the
userspace PM.
They'll be switched in the common PM infterface mptcp_pm_get_local_id()
in mptcp/pm.c based on whether mptcp_pm_is_userspace() or not.
Also put together the declarations of these three functions in protocol.h.
Signed-off-by: Geliang Tang <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Reviewed-by: Larysa Zaremba <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
