[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1d484f6a-669b-e222-391b-43e3b4904097@blackwall.org>
Date: Wed, 25 Oct 2023 22:12:13 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
j.vosburgh@...il.com, andy@...yhouse.net, dsahern@...nel.org,
jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
vinicius.gomes@...el.com, johannes@...solutions.net, idosch@...dia.com,
linux-wireless@...r.kernel.org
Subject: Re: [PATCH net-next] netlink: make range pointers in policies const
On 10/25/23 19:22, 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.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> CC: j.vosburgh@...il.com
> CC: andy@...yhouse.net
> CC: dsahern@...nel.org
> CC: jhs@...atatu.com
> CC: xiyou.wangcong@...il.com
> CC: jiri@...nulli.us
> CC: vinicius.gomes@...el.com
> CC: johannes@...solutions.net
> CC: razor@...ckwall.org
> CC: idosch@...dia.com
> CC: linux-wireless@...r.kernel.org
> ---
> drivers/net/bonding/bond_netlink.c | 2 +-
> drivers/net/vxlan/vxlan_mdb.c | 2 +-
> include/net/netlink.h | 4 ++--
> net/ipv6/ioam6_iptunnel.c | 2 +-
> net/sched/sch_fq.c | 2 +-
> net/sched/sch_fq_pie.c | 2 +-
> net/sched/sch_qfq.c | 2 +-
> net/sched/sch_taprio.c | 2 +-
> net/wireless/nl80211.c | 2 +-
> tools/net/ynl/ynl-gen-c.py | 2 +-
> 10 files changed, 11 insertions(+), 11 deletions(-)
>
Reviewed-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists