diff options
| author | Geliang Tang <[email protected]> | 2024-12-13 19:52:57 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-15 22:28:34 +0000 |
| commit | 1c670b39cec7603893e7d0169578409dccf63e94 (patch) | |
| tree | f7d707492e92965391165e9c66982e0dc13cfda9 /net/unix/unix_bpf.c | |
| parent | mptcp: drop free_list for deleting entries (diff) | |
| download | kernel-1c670b39cec7603893e7d0169578409dccf63e94.tar.gz kernel-1c670b39cec7603893e7d0169578409dccf63e94.zip | |
mptcp: change local addr type of subflow_destroy
Generally, in the path manager interfaces, the local address is defined as
an mptcp_pm_addr_entry type address, while the remote address is defined as
an mptcp_addr_info type one:
(struct mptcp_pm_addr_entry *local, struct mptcp_addr_info *remote)
But subflow_destroy() interface uses two mptcp_addr_info type parameters.
This patch changes the first one to mptcp_pm_addr_entry type and use helper
mptcp_pm_parse_entry() to parse it instead of using mptcp_pm_parse_addr().
This patch doesn't change the behaviour of the code, just refactoring.
Signed-off-by: Geliang Tang <[email protected]>
Reviewed-by: Matthieu Baerts (NGI0) <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://patch.msgid.link/20241213-net-next-mptcp-pm-misc-cleanup-v1-6-ddb6d00109a8@kernel.org
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
