diff options
author | 2024-12-13 20:52:53 +0100 | |
---|---|---|
committer | 2024-12-15 14:28:34 -0800 | |
commit | a28717d8414e965a3ce6c83f744aa1c70ac8722f (patch) | |
tree | 7f904437be5af511df1fb97c46a13566b28c6684 /net/core/dev_ioctl.c | |
parent | mptcp: add mptcp_userspace_pm_lookup_addr helper (diff) | |
download | wireguard-linux-a28717d8414e965a3ce6c83f744aa1c70ac8722f.tar.xz wireguard-linux-a28717d8414e965a3ce6c83f744aa1c70ac8722f.zip |
mptcp: add mptcp_for_each_userspace_pm_addr macro
Similar to mptcp_for_each_subflow() macro, this patch adds a new macro
mptcp_for_each_userspace_pm_addr() for userspace PM to iterate over the
address entries on the local address list userspace_pm_local_addr_list
of the mptcp socket.
This patch doesn't change the behaviour of the code, just refactoring.
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>
Link: https://patch.msgid.link/20241213-net-next-mptcp-pm-misc-cleanup-v1-2-ddb6d00109a8@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions