diff options
author | Geliang Tang <[email protected]> | 2023-08-21 15:25:19 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-22 17:31:19 -0700 |
commit | 0fa1b3783a17d75a4aa1651a18ede041ffca5750 (patch) | |
tree | 3735b005b1d160142a19aa0533e7590641045121 /lib/mpi/mpiutil.c | |
parent | 07336a87fe871518a7b3508e29a21ca1735b3edc (diff) |
mptcp: use get_send wrapper
This patch adds the multiple subflows support for __mptcp_push_pending
and __mptcp_subflow_push_pending. Use get_send() wrapper instead of
mptcp_subflow_get_send() in them.
Check the subflow scheduled flags to test which subflow or subflows are
picked by the scheduler, use them to send data.
Move msk_owned_by_me() and fallback checks into get_send() wrapper from
mptcp_subflow_get_send().
This commit allows the scheduler to set the subflow->scheduled bit in
multiple subflows, but it does not allow for sending redundant data.
Multiple scheduled subflows will send sequential data on each subflow.
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions