]> git.proxmox.com Git - mirror_frr.git/commitdiff
lib: Increase zapi buffer size
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 6 Mar 2018 21:07:14 +0000 (16:07 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 7 Mar 2018 19:37:58 +0000 (14:37 -0500)
The buffer size is currently 4k.  Increase x4 times to allow for bigger
messages to be sent over the zapi.

The current size sufficient for most cases, but there are a couple
of cases with installing data to the kernel ip rules where we will
quickly hit this 4k size limit.  I forsee flowspec getting close
to this limit as well.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/zclient.h

index d91b084e7446341b977e67dea17008cc752300e2..e0b39c88e89b9e4bd7afa0aac4f978fd6242ae13 100644 (file)
@@ -37,7 +37,7 @@
 #include "pw.h"
 
 /* For input/output buffer to zebra. */
-#define ZEBRA_MAX_PACKET_SIZ          4096
+#define ZEBRA_MAX_PACKET_SIZ          16384
 
 /* Zebra header size. */
 #define ZEBRA_HEADER_SIZE             10