commit | e0ca4057e0ecd4b10f27892fe6f1ac2a7fd25ab4 | [log] [tgz] |
---|---|---|
author | Paolo Abeni <[email protected]> | Tue Feb 18 19:36:18 2025 +0100 |
committer | Jakub Kicinski <[email protected]> | Wed Feb 19 19:05:29 2025 -0800 |
tree | 36219ec22b92aa151525292a16cc1ef06d4c3b3c | |
parent | 51fe9cb9213e18c4968385482c7ed20c0b1b21d3 [diff] |
mptcp: micro-optimize __mptcp_move_skb() After the RX path refactor the mentioned function is expected to run frequently, let's optimize it a bit. Scan for ready subflow from the last processed one, and stop after traversing the list once or reaching the msk memory limit - instead of looking for dubious per-subflow conditions. Also re-order the memory limit checks, to avoid duplicate tests. Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/20250218-net-next-mptcp-rx-path-refactor-v1-7-4a47d90d7998@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>