Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/25/23 10:22 AM, 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@xxxxxxxxxx>
> ---
> CC: j.vosburgh@xxxxxxxxx
> CC: andy@xxxxxxxxxxxxx
> CC: dsahern@xxxxxxxxxx
> CC: jhs@xxxxxxxxxxxx
> CC: xiyou.wangcong@xxxxxxxxx
> CC: jiri@xxxxxxxxxxx
> CC: vinicius.gomes@xxxxxxxxx
> CC: johannes@xxxxxxxxxxxxxxxx
> CC: razor@xxxxxxxxxxxxx
> CC: idosch@xxxxxxxxxx
> CC: linux-wireless@xxxxxxxxxxxxxxx
> ---
>  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: David Ahern <dsahern@xxxxxxxxxx>




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux