From f276b7a059f61c419cb4fe2a63a068b4484f9400 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 8 Feb 2018 00:16:18 +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/bgpd/bgpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index baa630dd13c..d94207ac2b4 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.315 2017/10/15 20:44:21 deraadt Exp $ */ +/* $OpenBSD: bgpd.h,v 1.316 2018/02/08 00:16:18 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -48,7 +48,7 @@ #define MIN_HOLDTIME 3 #define READ_BUF_SIZE 65535 #define RT_BUF_SIZE 16384 -#define MAX_RTSOCK_BUF 128 * 1024 +#define MAX_RTSOCK_BUF (2 * 1024 * 1024) #define BGPD_OPT_VERBOSE 0x0001 #define BGPD_OPT_VERBOSE2 0x0002 -- 2.20.1