From ca0e6eeb8ef84cd2a6d572f971f4ae147d8c76d8 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 8 Feb 2018 00:21:10 +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/snmpd/snmpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h index b4e15bbbec1..3e07a58732f 100644 --- a/usr.sbin/snmpd/snmpd.h +++ b/usr.sbin/snmpd/snmpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.h,v 1.76 2017/07/28 13:17:43 florian Exp $ */ +/* $OpenBSD: snmpd.h,v 1.77 2018/02/08 00:21:10 claudio Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter @@ -67,7 +67,7 @@ #define SMALL_READ_BUF_SIZE 1024 #define READ_BUF_SIZE 65535 #define RT_BUF_SIZE 16384 -#define MAX_RTSOCK_BUF (128 * 1024) +#define MAX_RTSOCK_BUF (2 * 1024 * 1024) #define SNMP_ENGINEID_OLD 0x00 #define SNMP_ENGINEID_NEW 0x80 /* RFC3411 */ -- 2.20.1