diff options
author | Geliang Tang <[email protected]> | 2023-08-21 15:25:16 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-22 17:31:19 -0700 |
commit | 1730b2b2c5a5a886007b247366aebe0976dc8881 (patch) | |
tree | 6bdfe2645f4be4f94423f41e011cb733e32cb7cb /lib/mpi/mpiutil.c | |
parent | e3b2870b6d220d1cbd2d52d7acc9f0de9fdfeccf (diff) |
mptcp: add sched in mptcp_sock
This patch adds a new struct member sched in struct mptcp_sock.
And two helpers mptcp_init_sched() and mptcp_release_sched() to
init and release it.
Init it with the sysctl scheduler in mptcp_init_sock(), copy the
scheduler from the parent in mptcp_sk_clone(), and release it in
__mptcp_destroy_sock().
Acked-by: Paolo Abeni <[email protected]>
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