diff options
author | Florian Westphal <[email protected]> | 2020-05-16 10:46:21 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-17 12:35:34 -0700 |
commit | 17091708d1e503383f20934631305ccb375b0eb1 (patch) | |
tree | a5c79670b8f145d1dd6074de1df7dd512fbb1d05 /tools/perf/scripts/python/stat-cpi.py | |
parent | 149f7c71e2c710a8ced836421a631953c9f84aa3 (diff) |
mptcp: fill skb page frag cache outside of mptcp_sendmsg_frag
The mptcp_sendmsg_frag helper contains a loop that will wait on the
subflow sk.
It seems preferrable to only wait in mptcp_sendmsg() when blocking io is
requested. mptcp_sendmsg already has such a wait loop that is used when
no subflow socket is available for transmission.
This is another preparation patch that makes sure we call
mptcp_sendmsg_frag only if the page frag cache has been refilled.
Followup patch will remove the wait loop from mptcp_sendmsg_frag().
The retransmit worker doesn't need to do this refill as it won't
transmit new mptcp-level data.
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions