diff options
| author | Matthieu Baerts <[email protected]> | 2021-05-27 16:54:29 -0700 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-05-28 13:59:16 -0700 |
| commit | 804c72eeecd2cd38567b64f868cc8c63202cf1a2 (patch) | |
| tree | 20fd7d39deaebf9a3830ef666dec6d10fea88735 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | eb5fb629f56da3f40f496c807da44a7ce7644779 (diff) | |
mptcp: support SYSCTL only if enabled
Since the introduction of the sysctl support in MPTCP with
commit 784325e9f037 ("mptcp: new sysctl to control the activation per NS"),
we don't check CONFIG_SYSCTL.
Until now, that was not an issue: the register and unregister functions
were replaced by NO-OP one if SYSCTL was not enabled in the config. The
only thing we could have avoid is not to reserve memory for the table
but that's for the moment only a small table per net-ns.
But the following commit is going to use SYSCTL_ZERO and SYSCTL_ONE
which are not be defined if SYSCTL is not enabled in the config. This
causes 'undefined reference' errors from the linker.
Reported-by: kernel test robot <[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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions