summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-08-11 08:12:34 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 23:54:29 +0200
commitb801f54917b7c6e8540f877ee562cd0725e62ebd (patch)
tree4e9bfbe7109fd7ccd9a685771b0c37f753726455
parent[DECNET]: Increase number of possible routing tables to 2^32 (diff)
downloadlinux-b801f54917b7c6e8540f877ee562cd0725e62ebd.tar.xz
linux-b801f54917b7c6e8540f877ee562cd0725e62ebd.zip
[NET]: Increate RT_TABLE_MAX to 2^32
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/rtnetlink.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index ea422a539a03..7e4aa48680a7 100644
--- a/include/linux/rtnetlink.h
+++ b/include/linux/rtnetlink.h
@@ -239,10 +239,8 @@ enum rt_class_t
RT_TABLE_DEFAULT=253,
RT_TABLE_MAIN=254,
RT_TABLE_LOCAL=255,
- __RT_TABLE_MAX
+ RT_TABLE_MAX=0xFFFFFFFF
};
-#define RT_TABLE_MAX (__RT_TABLE_MAX - 1)
-
/* Routing message attributes */