From: claudio Date: Thu, 8 Feb 2018 00:18:57 +0000 (+0000) Subject: Bump the read sockbuf of the routing socket to 2MB, may help reduce some of X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b7b65d7f4b721aca2050fbbe64130d5ed191ae21;p=openbsd Bump the read sockbuf of the routing socket to 2MB, may help reduce some of the desync cases. OK benno@ --- diff --git a/usr.sbin/ospfd/ospfd.h b/usr.sbin/ospfd/ospfd.h index ba3ffbc56cb..af082b1079c 100644 --- a/usr.sbin/ospfd/ospfd.h +++ b/usr.sbin/ospfd/ospfd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.h,v 1.98 2018/02/05 12:11:28 remi Exp $ */ +/* $OpenBSD: ospfd.h,v 1.99 2018/02/08 00:18:57 claudio Exp $ */ /* * Copyright (c) 2004 Esben Norby @@ -46,7 +46,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