aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2023-08-21 15:25:18 -0700
committerJakub Kicinski <[email protected]>2023-08-22 17:31:19 -0700
commit07336a87fe871518a7b3508e29a21ca1735b3edc (patch)
tree06f85c23646d5c49c35b8cd0770dc30f117f7b6b /lib/mpi/mpiutil.c
parentfce68b03086fd00eb5a8ba4744f36f0d007d0f9d (diff)
mptcp: add scheduler wrappers
This patch defines two packet scheduler wrappers mptcp_sched_get_send() and mptcp_sched_get_retrans(), invoke get_subflow() of msk->sched in them. Set data->reinject to true in mptcp_sched_get_retrans(), set it false in mptcp_sched_get_send(). If msk->sched is NULL, use default functions mptcp_subflow_get_send() and mptcp_subflow_get_retrans() to send data. 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