diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2025-02-07 16:59:29 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-11 14:46:37 +0300 |
commit | d47b80758f4c5d72a82cd8416cbf34617ded5c0b (patch) | |
tree | 30776e58c5f098354920cf18e05654946d0223c6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 67dcf659254406596a6ff8600763244c3f4d75b0 (diff) | |
download | linux-d47b80758f4c5d72a82cd8416cbf34617ded5c0b.tar.xz |
mptcp: pm: add id parameter for get_addr
The address id is parsed both in mptcp_pm_nl_get_addr() and
mptcp_userspace_pm_get_addr(), this makes the code somewhat repetitive.
So this patch adds a new parameter 'id' for all get_addr() interfaces.
The address id is only parsed in mptcp_pm_nl_get_addr_doit(), then pass
it to both mptcp_pm_nl_get_addr() and mptcp_userspace_pm_get_addr().
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