diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2025-02-21 16:44:01 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-24 18:23:44 -0800 |
commit | 9771a96a7a35daa2220cc4f170b840b34af28b2c (patch) | |
tree | 2a12bd2da6ccdd5a336ea0adbaf825fc67030d1e /rust/helpers/security.c | |
parent | 7720790fd56b91259efe500a702ad4c0fd29b260 (diff) |
mptcp: sched: split get_subflow interface into two
get_retrans() interface of the burst packet scheduler invokes a sleeping
function mptcp_pm_subflow_chk_stale(), which calls __lock_sock_fast().
So get_retrans() interface should be set with BPF_F_SLEEPABLE flag in
BPF. But get_send() interface of this scheduler can't be set with
BPF_F_SLEEPABLE flag since it's invoked in ack_update_msk() under mptcp
data lock.
So this patch has to split get_subflow() interface of packet scheduer into
two interfaces: get_send() and get_retrans(). Then we can set get_retrans()
interface alone with BPF_F_SLEEPABLE flag.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250221-net-next-mptcp-pm-misc-cleanup-3-v1-8-2b70ab1cee79@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions