diff options
author | Florian Westphal <[email protected]> | 2020-05-16 10:46:20 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-17 12:35:34 -0700 |
commit | 149f7c71e2c710a8ced836421a631953c9f84aa3 (patch) | |
tree | c93d9ef2919afeee41972fe3c9afdb6cfac30c09 /tools/perf/scripts/python/stat-cpi.py | |
parent | 72511aab95c94d7c0f03d0b7db5df47fdca059f6 (diff) |
mptcp: fill skb extension 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 a preparation patch that makes sure we call
mptcp_sendmsg_frag only if a skb extension has been allocated.
Moreover, such allocation currently uses GFP_ATOMIC while it
could use sleeping allocation instead.
Followup patches will remove the wait loop from mptcp_sendmsg_frag()
and will allow to do a sleeping allocation for the extension.
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