mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
82dc29b973
"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> |
||
---|---|---|
.. | ||
core.c | ||
dev.c | ||
devl_internal.h | ||
dpipe.c | ||
health.c | ||
linecard.c | ||
Makefile | ||
netlink_gen.c | ||
netlink_gen.h | ||
netlink.c | ||
param.c | ||
port.c | ||
rate.c | ||
region.c | ||
resource.c | ||
sb.c | ||
trap.c |