summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>2026-06-05 12:21:53 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-12 01:33:38 +0300
commitf81689172429885d6c2c7c3dd4926ec626e794bb (patch)
tree3a10e107c61edde9a420817fe4680b2d34bb35c8 /tools/lib/python
parent5558517b0001751c666e4b2b8c956d31ed5c7c8a (diff)
downloadlinux-f81689172429885d6c2c7c3dd4926ec626e794bb.tar.xz
mptcp: pm: use for_each_subflow helper
Similar to most places in the MPTCP code. So instead of passing the subflow list and use list_for_each_entry(subflow, list, node), pass the msk and use mptcp_for_each_subflow(msk, subflow). That's clearer and more uniform with the rest. While at it, add 'pm_' prefix for the exported one to easily identify the origin. Plus replace 'lookup' by 'has', because a bool is returned. Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20260605-net-next-mptcp-add-addr6-port-ts-v2-9-758e7ca73f4d@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions