diff options
author | 2025-02-18 19:36:18 +0100 | |
---|---|---|
committer | 2025-02-19 19:05:29 -0800 | |
commit | e0ca4057e0ecd4b10f27892fe6f1ac2a7fd25ab4 (patch) | |
tree | 36219ec22b92aa151525292a16cc1ef06d4c3b3c /scripts/generate_rust_analyzer.py | |
parent | mptcp: dismiss __mptcp_rmem() (diff) | |
download | wireguard-linux-e0ca4057e0ecd4b10f27892fe6f1ac2a7fd25ab4.tar.xz wireguard-linux-e0ca4057e0ecd4b10f27892fe6f1ac2a7fd25ab4.zip |
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 <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250218-net-next-mptcp-rx-path-refactor-v1-7-4a47d90d7998@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions