1
linux/net/devlink
Christophe JAILLET 82dc29b973 devlink: Constify the 'table_ops' parameter of devl_dpipe_table_register()
"struct devlink_dpipe_table_ops" only contains some function pointers.

Update "struct devlink_dpipe_table" and the 'table_ops' parameter of
devl_dpipe_table_register() so that structures in drivers can be
constified.

Constifying these structures will move some data to a read-only section, so
increase overall security.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-06-05 10:24:57 +01:00
..
core.c
dev.c netlink: add nlmsg_consume() and use it in devlink compat 2024-04-06 18:20:14 +01:00
devl_internal.h
dpipe.c devlink: Constify the 'table_ops' parameter of devl_dpipe_table_register() 2024-06-05 10:24:57 +01:00
health.c
linecard.c
Makefile
netlink_gen.c
netlink_gen.h
netlink.c
param.c devlink: extend devlink_param *set pointer 2024-04-22 13:05:19 -07:00
port.c devlink: Support setting max_io_eqs 2024-04-08 14:10:45 +01:00
rate.c
region.c
resource.c
sb.c
trap.c