[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpX7VUwey0gyjei9WLvXcs1pHidQUqvGW8rhpq-qC2PcXw@mail.gmail.com>
Date: Thu, 6 Oct 2016 17:53:19 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Maciej Żenczykowski <zenczykowski@...il.com>
Cc: David Miller <davem@...emloft.net>,
Linux NetDev <netdev@...r.kernel.org>,
Erik Kline <ek@...gle.com>,
Lorenzo Colitti <lorenzo@...gle.com>
Subject: Re: [PATCH] ipv6 addrconf: disallow rtr_solicits < -1
On Mon, Oct 3, 2016 at 11:40 PM, Maciej Żenczykowski
<zenczykowski@...il.com> wrote:
>> Please remove the const qualifier and the casts to be consistent
>> with how we handle this elsewhere.
>>
>> Thanks.
>
> I can of course trivially make that change.
>
> But:
>
> (on net-next/master)
> git grep 'extra[12].*=.*\(void *[*]\)'
>
> currently finds 45 matches, and this patch adds a 46th.
Seems the sysctl layer should make them const, but I never look
into it, it doesn't look like it needs to modify these min/max consts.
Powered by blists - more mailing lists