From a3d7421b5edd5f46ffcd416c9503234de02dc553 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 8 Feb 2018 00:18:20 +0000 Subject: [PATCH] Bump the read sockbuf of the routing socket to 2MB, may help reduce some of the desync cases. OK benno@ --- usr.sbin/ospf6d/ospf6d.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ospf6d/ospf6d.h b/usr.sbin/ospf6d/ospf6d.h index 52514f09229..0b6d8835a99 100644 --- a/usr.sbin/ospf6d/ospf6d.h +++ b/usr.sbin/ospf6d/ospf6d.h @@ -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 @@ -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 -- 2.20.1