diff options
author | Gregory Detal <[email protected]> | 2024-05-06 17:35:28 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-07 17:23:35 -0700 |
commit | 6963c508fd7ab66ae0b7ae3db9a62ca6267f1ae8 (patch) | |
tree | d4132c7758136ed45d01e84286b1daf288f51520 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 19e35f24750ddf860c51e51c68cf07ea181b4881 (diff) |
mptcp: only allow set existing scheduler for net.mptcp.scheduler
The current behavior is to accept any strings as inputs, this results in
an inconsistent result where an unexisting scheduler can be set:
# sysctl -w net.mptcp.scheduler=notdefault
net.mptcp.scheduler = notdefault
This patch changes this behavior by checking for existing scheduler
before accepting the input.
Fixes: e3b2870b6d22 ("mptcp: add a new sysctl scheduler")
Cc: [email protected]
Signed-off-by: Gregory Detal <[email protected]>
Reviewed-by: Matthieu Baerts (NGI0) <[email protected]>
Tested-by: Geliang Tang <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://lore.kernel.org/r/20240506-upstream-net-20240506-mptcp-sched-exist-v1-1-2ed1529e521e@kernel.org
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions