diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2020-11-16 12:48:10 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-16 21:46:07 +0300 |
| commit | d9ca1de8c0cd7a8ca2a0506e1741418741848e53 (patch) | |
| tree | 6c6acef02362a2693cfc1ed37ce858b57f627685 /tools/perf/scripts/python | |
| parent | e16163b6e2b720fb74e5af758546f6dad27e6c9e (diff) | |
| download | linux-d9ca1de8c0cd7a8ca2a0506e1741418741848e53.tar.xz | |
mptcp: move page frag allocation in mptcp_sendmsg()
mptcp_sendmsg() is refactored so that first it copies
the data provided from user space into the send queue,
and then tries to spool the send queue via sendmsg_frag.
There a subtle change in the mptcp level collapsing on
consecutive data fragment: we now allow that only on unsent
data.
The latter don't need to deal with msghdr data anymore
and can be simplified in a relevant way.
snd_nxt and write_seq are now tracked independently.
Overall this allows some relevant cleanup and will
allow sending pending mptcp data on msk una update in
later patch.
Co-developed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
