From 36064c0d9bb0a123c9a34919e58fa8dfed53b007 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 13 Feb 2018 20:29:38 -0500 Subject: [PATCH] zebra: Allow table creation for tables greater than 252 The linux kernel allows a vast expanse of tables to be used. It would be useful for zebra to track these tables if they are being used. Signed-off-by: Donald Sharp --- zebra/zebra_vrf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/zebra/zebra_vrf.c b/zebra/zebra_vrf.c index a0c7929b44..f0bd91bd4b 100644 --- a/zebra/zebra_vrf.c +++ b/zebra/zebra_vrf.c @@ -529,9 +529,6 @@ struct route_table *zebra_vrf_other_route_table(afi_t afi, u_int32_t table_id, if (afi >= AFI_MAX) return NULL; - if (table_id >= ZEBRA_KERNEL_TABLE_MAX) - return NULL; - if ((vrf_id == VRF_DEFAULT) && (table_id != RT_TABLE_MAIN) && (table_id != zebrad.rtm_table_default)) { return zebra_ns_get_table(zns, zvrf, table_id, afi); -- 2.39.5