[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110113125115.GA28332@ms2.inr.ac.ru>
Date: Thu, 13 Jan 2011 15:51:15 +0300
From: Alexey Kuznetsov <kuznet@....inr.ac.ru>
To: tgraf@...radead.org, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: devconf: start IPV4_DEVCONF_* from 0
Hello!
On Thu, Jan 13, 2011 at 05:02:24AM -0500, Thomas Graf wrote:
> The reason I didn't change anything was the same as Dave's reply, I
> thought it must have been done on purpose.
The days, when this was written, 0 was interpreted as end of array by sysctl core.
BTW, -1=CTL_ANY also used to be special, that's why NET_PROTO_CONF_ALL=-2 rather than -1.
So, yes, it was done on purpose. And, yes, this purpose is not a legal purpose now.
Alexey
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists