diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2025-02-07 16:59:27 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-11 14:46:37 +0300 |
commit | 7aeab89b090fe40bc96e4af68c2b57f019d654d7 (patch) | |
tree | 99423217869fd71e263df4c3c6988ecda193903a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a25a8b10491bb94e905fdbef06f0f2b80fd9f74f (diff) | |
download | linux-7aeab89b090fe40bc96e4af68c2b57f019d654d7.tar.xz |
mptcp: pm: make three pm wrappers static
Three netlink functions:
mptcp_pm_nl_get_addr_doit()
mptcp_pm_nl_get_addr_dumpit()
mptcp_pm_nl_set_flags_doit()
are generic, implemented for each PM, in-kernel PM and userspace PM. It's
clearer to move them from pm_netlink.c to pm.c.
And the linked three path manager wrappers
mptcp_pm_get_addr()
mptcp_pm_dump_addr()
mptcp_pm_set_flags()
can be changed as static functions, no need to export them in protocol.h.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions