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

From
Johannes Berg <johannes@sipsolutions.net>
Date
2023-10-25 16:23:40
Also in
linux-wireless
Reply to
Jakub Kicinski, 2023-10-25
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
Thread (6 messages) 6 messages, 6 authors, last reply 2023-10-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help