# Re: \[PATCH net-next\] netlink: make range pointers in policies const

- From: Johannes Berg \<johannes@sipsolutions.net\>
- Date: 2023-10-25 16:23:40 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/10/11275550
- Thread: https://ratatoskr.run/netdev/2023/10/11275548/t.md

```text
On Wed, 2023-10-25 at 09:22 -0700, Jakub Kicinski wrote:
> 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.

Makes sense, wonder why I didn't do that from the beginning ...

Reviewed-by: Johannes Berg <johannes@sipsolutions.net>

johannes
```
