diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-03-27 14:48:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-29 22:14:48 -0700 |
commit | 18b683bff89d46ace55f12d00c0440d44d6160c4 (patch) | |
tree | 54c4f0dd6cc491c0758605ceefcc3984c370151b /block/blk-mq-sched.c | |
parent | cc9d2566986692e5b6df1aac88fbf65fe340d432 (diff) | |
download | linux-18b683bff89d46ace55f12d00c0440d44d6160c4.tar.bz2 |
mptcp: queue data for mptcp level retransmission
Keep the send page fragment on an MPTCP level retransmission queue.
The queue entries are allocated inside the page frag allocator,
acquiring an additional reference to the page for each list entry.
Also switch to a custom page frag refill function, to ensure that
the current page fragment can always host an MPTCP rtx queue entry.
The MPTCP rtx queue is flushed at disconnect() and close() time
Note that now we need to call __mptcp_init_sock() regardless of mptcp
enable status, as the destructor will try to walk the rtx_queue.
v2 -> v3:
- remove 'inline' in foo.c files (David S. Miller)
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions