diff options
author | Jakub Kicinski <[email protected]> | 2023-10-25 09:22:04 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-26 16:24:09 -0700 |
commit | ea23fbd2a8f7dadfa9cd9b9d73f3b8a69eec0671 (patch) | |
tree | 947c27968803abfa32d76edf4fda8967d77423be /net/unix/sysctl_net_unix.c | |
parent | 5af8d8ce643478d754ef72fc239466f6ad0e2562 (diff) |
netlink: make range pointers in policies const
struct nla_policy is usually constant itself, but unless
we make the ranges inside constant we won't be able to
make range structs const. The ranges are not modified
by the core.
Reviewed-by: Johannes Berg <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Reviewed-by: Nikolay Aleksandrov <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions