Bump the read sockbuf of the routing socket to 2MB, may help reduce some of
authorclaudio <claudio@openbsd.org>
Thu, 8 Feb 2018 00:18:20 +0000 (00:18 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 8 Feb 2018 00:18:20 +0000 (00:18 +0000)
the desync cases. OK benno@

usr.sbin/ospf6d/ospf6d.h

index 52514f0..0b6d883 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: ospf6d.h,v 1.34 2017/08/12 16:27:50 benno Exp $ */
+/*     $OpenBSD: ospf6d.h,v 1.35 2018/02/08 00:18:20 claudio Exp $ */
 
 /*
  * Copyright (c) 2004, 2007 Esben Norby <norby@openbsd.org>
@@ -45,7 +45,7 @@
 #define        READ_BUF_SIZE           65535
 #define        PKG_DEF_SIZE            512     /* compromise */
 #define        RT_BUF_SIZE             16384
-#define        MAX_RTSOCK_BUF          128 * 1024
+#define        MAX_RTSOCK_BUF          (2 * 1024 * 1024)
 
 #define        OSPFD_FLAG_NO_FIB_UPDATE        0x0001
 #define        OSPFD_FLAG_STUB_ROUTER          0x0002