diff options
author | 2024-12-16 12:30:08 +0100 | |
---|---|---|
committer | 2024-12-17 19:00:43 -0800 | |
commit | a2558b410de3b0b6c38222ac4858188a55bc52ff (patch) | |
tree | fba863794a7263ee9dd2f244c0c0617aefe3350d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: page_pool: rename page_pool_is_last_ref() (diff) | |
download | wireguard-linux-a2558b410de3b0b6c38222ac4858188a55bc52ff.tar.xz wireguard-linux-a2558b410de3b0b6c38222ac4858188a55bc52ff.zip |
net: bridge: constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be
moved into read-only memory. Make use of that to protect them against
accidental or malicious modifications.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20241216-sysfs-const-bin_attr-net-v1-1-ec460b91f274@weissschuh.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions