]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Allow table creation for tables greater than 252
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Feb 2018 01:29:38 +0000 (20:29 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 23 Feb 2018 12:08:36 +0000 (07:08 -0500)
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 <sharpd@cumulusnetworks.com>
zebra/zebra_vrf.c

index a0c7929b44ddf59603f95d2c1003ef9b14795f0d..f0bd91bd4bbdd751ce1e24fc59db7dd2798ab2b2 100644 (file)
@@ -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);