diff options
| author | Matthieu Baerts <[email protected]> | 2021-05-27 16:54:30 -0700 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-05-28 13:59:16 -0700 |
| commit | 744ee14054c8ca5ad0fe3ab9172709c17d8a240a (patch) | |
| tree | 672df1ae6ac0ebe6073bfdf6b2005b2a8e440cd0 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 804c72eeecd2cd38567b64f868cc8c63202cf1a2 (diff) | |
mptcp: restrict values of 'enabled' sysctl
To avoid confusions, it seems better to parse this sysctl parameter as a
boolean. We use it as a boolean, no need to parse an integer and bring
confusions if we see a value different from 0 and 1, especially with
this parameter name: enabled.
It seems fine to do this modification because the default value is 1
(enabled). Then the only other interesting value to set is 0 (disabled).
All other values would not have changed the default behaviour.
Suggested-by: Florian Westphal <[email protected]>
Acked-by: Florian Westphal <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions