diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-07-14 18:15:20 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-15 08:51:19 -0700 |
commit | 0970bf676f86c2c4d9bf7e672f5504d390c9fce6 (patch) | |
tree | ac24e6e25f35275fbd2defa67a8449733d9295d2 /scripts/ksymoops/README | |
parent | 70de41ef78573ce958ac04ecc2b5671851723c59 (diff) |
llc: Constify struct llc_sap_state_trans
'struct llc_sap_state_trans' are not modified in this driver.
Constifying this structure moves some data to a read-only section, so
increase overall security.
On a x86_64, with allmodconfig, as an example:
Before:
======
text data bss dec hex filename
339 456 24 819 333 net/llc/llc_s_st.o
After:
=====
text data bss dec hex filename
683 144 0 827 33b net/llc/llc_s_st.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/9d17587639195ee94b74ff06a11ef97d1833ee52.1720973710.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/ksymoops/README')
0 files changed, 0 insertions, 0 deletions