diff options
author | 2025-02-07 14:59:29 +0100 | |
---|---|---|
committer | 2025-02-11 12:46:37 +0100 | |
commit | d47b80758f4c5d72a82cd8416cbf34617ded5c0b (patch) | |
tree | 30776e58c5f098354920cf18e05654946d0223c6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mptcp: pm: drop skb parameter of get_addr (diff) | |
download | wireguard-linux-d47b80758f4c5d72a82cd8416cbf34617ded5c0b.tar.xz wireguard-linux-d47b80758f4c5d72a82cd8416cbf34617ded5c0b.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions