diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-11-15 17:52:35 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-19 03:50:13 +0100 |
commit | 1d7fa6ceb91fddbe38cae3521d5d1075bce6a00e (patch) | |
tree | be895917bbbc304ad0ee25cd8e98f3aa3a8e1c8b /MAINTAINERS | |
parent | mptcp: pm: lockless list traversal to dump endp (diff) | |
download | linux-1d7fa6ceb91fddbe38cae3521d5d1075bce6a00e.tar.xz 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 '')
0 files changed, 0 insertions, 0 deletions