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? Thank you! -- With best regards, Alexander.
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. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
-----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-----
On Mon, Aug 25, 2014 at 08:55:02AM -0500, Bryan Duff wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Enjoy!
Well, this removes the check, but it wouldn't otherwise work for reasons described here: https://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg02991.ht... (only lower bytes of kernel table ids would be used) -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (3)
-
Alexander Demenshin -
Bryan Duff -
Ondrej Zajicek