Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: pm: avoid code duplication to lookup endp
The helper __lookup_addr_rcu() 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) <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Signed-off-by: Geliang Tang <[email protected]>
- Loading branch information