From de01803170cb701f4868be124a12fd8368c4cef1 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 8 Feb 2018 00:19:54 +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/ripd/ripd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ripd/ripd.h b/usr.sbin/ripd/ripd.h index 3bc45813740..36c743cb2ca 100644 --- a/usr.sbin/ripd/ripd.h +++ b/usr.sbin/ripd/ripd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ripd.h,v 1.24 2016/09/02 14:07:52 benno Exp $ */ +/* $OpenBSD: ripd.h,v 1.25 2018/02/08 00:19:54 claudio Exp $ */ /* * Copyright (c) 2004 Esben Norby @@ -44,7 +44,7 @@ #define NBR_TIMEOUT 180 #define RT_BUF_SIZE 16384 -#define MAX_RTSOCK_BUF 128 * 1024 +#define MAX_RTSOCK_BUF (2 * 1024 * 1024) #define RIPD_FLAG_NO_FIB_UPDATE 0x0001 -- 2.20.1