Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: e3b2870 ("mptcp: add a new sysctl scheduler") Signed-off-by: Gregory Detal <gregory.detal@gmail.com>
- Loading branch information