[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121114.202802.23715201166879903.davem@davemloft.net>
Date: Wed, 14 Nov 2012 20:28:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: netdev@...r.kernel.org
Subject: Re: question about RT_TABLE_MAX
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Mon, 12 Nov 2012 17:51:35 +0300
> RT_TABLE_MAX is 0xFFFFFFFF. It's always compared against an unsigned
> int so the checks against it don't test anything.
It used to be 256, that's why the spurious tests are there, they
just need to be cleaned up.
This change happened in commit:
commit b801f54917b7c6e8540f877ee562cd0725e62ebd
Author: Patrick McHardy <kaber@...sh.net>
Date: Thu Aug 10 23:12:34 2006 -0700
[NET]: Increate RT_TABLE_MAX to 2^32
Signed-off-by: Patrick McHardy <kaber@...sh.net>
Signed-off-by: David S. Miller <davem@...emloft.net>
--
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