diff options
author | 2024-11-15 17:52:35 +0100 | |
---|---|---|
committer | 2024-11-18 18:50:13 -0800 | |
commit | 1d7fa6ceb91fddbe38cae3521d5d1075bce6a00e (patch) | |
tree | be895917bbbc304ad0ee25cd8e98f3aa3a8e1c8b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mptcp: pm: lockless list traversal to dump endp (diff) | |
download | wireguard-linux-1d7fa6ceb91fddbe38cae3521d5d1075bce6a00e.tar.xz wireguard-linux-1d7fa6ceb91fddbe38cae3521d5d1075bce6a00e.zip |
mptcp: pm: avoid code duplication to lookup endp
The helper __lookup_addr() can be used in mptcp_pm_nl_get_local_id()
and mptcp_pm_nl_is_backup() to simplify the code, and avoid code
duplication.
Co-developed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20241115-net-next-mptcp-pm-lockless-dump-v1-2-f4a1bcb4ca2c@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions