[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAedzxpof8zBLL5AvKQLZVMoof63fAsds+7bTL9hNAdQgEbE8Q@mail.gmail.com>
Date: Tue, 27 Sep 2016 11:25:16 +0900
From: Erik Kline <ek@...gle.com>
To: Maciej Żenczykowski <zenczykowski@...il.com>
Cc: Lorenzo Colitti <lorenzo@...gle.com>,
"David S . Miller" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH v2 3/7] ipv6 addrconf: rtr_solicits == -1 means unlimited
On 27 September 2016 at 11:23, Maciej Żenczykowski
<zenczykowski@...il.com> wrote:
>> Given that some of this patch checks for == -1, and some of it checks
>> for != 0... is it possible that setting the value to something
>> unexpected like -3 will cause any issues to the stack? (Other than
>> just rendering IPv6 unusable on this interface, which seems like a
>> given.)
>
> You shouldn't be able to set it to -3, that's what the extra1 is for...
the proc_dointvec_minmax reference with &minus_one means you shouldn't
be able to set it below -1.
Powered by blists - more mailing lists