diff options
author | Joel Granados <j.granados@samsung.com> | 2024-05-01 12:29:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-03 15:29:42 +0300 |
commit | 635470eb0aa71ba41c47593c66f65ac1e5d59dd7 (patch) | |
tree | 07c989aa637e1352fd67a298d59dd266d033882c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 73dbd8cf7947f7da47b23f4adc07593c4dc452b4 (diff) | |
download | linux-635470eb0aa71ba41c47593c66f65ac1e5d59dd7.tar.xz |
netfilter: Remove the now superfluous sentinel elements from ctl_table array
This commit comes at the tail end of a greater effort to remove the
empty elements at the end of the ctl_table arrays (sentinels) which will
reduce the overall build time size of the kernel and run time memory
bloat by ~64 bytes per sentinel (further information Link :
https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/)
* Remove sentinel elements from ctl_table structs
* Remove instances where an array element is zeroed out to make it look
like a sentinel. This is not longer needed and is safe after commit
c899710fe7f9 ("networking: Update to register_net_sysctl_sz") added
the array size to the ctl_table registration
* Remove the need for having __NF_SYSCTL_CT_LAST_SYSCTL as the
sysctl array size is now in NF_SYSCTL_CT_LAST_SYSCTL
* Remove extra element in ctl_table arrays declarations
Acked-by: Kees Cook <keescook@chromium.org> # loadpin & yama
Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions