-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Enjoy!

- -Bryan

On 08/25/2014 01:52 AM, Ondrej Zajicek wrote:
> On Mon, Aug 25, 2014 at 01:30:30AM +0200, Alexander Demenshin wrote:
>> Hi,
>>
>> It seems that there is a limit on maximum kernel table number (in kernel
>> protocol),
>> in particular I couldn't use number 1000 while this is perfectly
acceptable
>> by the Linux kernel.
>>
>> Is there any specific reason for this limitation?
>
> Hi
>
> Yes, BIRD uses older kernel API, which limits kernel table number to 255.
> This is also assumed in some other parts of BIRD code.
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJT+0A1AAoJEM7XLS/7/1ZOPNoIAM/CJ6x6V5hMzqdWCk3GxAks
IHFJDfj6oAJuYQzlxEkRxv0v96xKJkW8wf9vlKCV01RFIwbDiYe/1+F7oGKKGDM7
1TgORyZBdDWT1IU2s2AVJfUWuG6cALfFrdbgrxawE5zLbfqhCfvVmRnecplUJW3m
ZKe2vsKk8vXzJOsSvauNA7NwVhwVQEL8lcfiTfKlYVZftMHNZ8rHgTTReKofmyyK
dk+iDwHlsQSPdkNz8I9VAto6Y40wdPCRvq6F2i/XTlMUtsOPbZuIO0RXTH90Klv+
CdtGOPLXjk7d8+kcFPC5WIJIfuF2um18qlUkrrKdXyfZx0HUeFVIFyolCI+O1Ic=
=I2v+
-----END PGP SIGNATURE-----

diff --git a/sysdep/linux/krt-sys.h b/sysdep/linux/krt-sys.h
index 7b3043a..4219e97 100644
--- a/sysdep/linux/krt-sys.h
+++ b/sysdep/linux/krt-sys.h
@@ -30,7 +30,7 @@ static inline void kif_sys_copy_config(struct kif_config *d UNUSED, struct kif_c
 
 /* Kernel routes */
 
-#define NL_NUM_TABLES 256
+#define NL_NUM_TABLES 32768
 
 struct krt_params {
   int table_id;				/* Kernel table ID we sync with */

Attachment: bird_table_max.patch.sig
Description: PGP signature

Reply via email to