On 27 September 2016 at 11:23, Maciej Żenczykowski <zenczykow...@gmail.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.