From: claudio Date: Thu, 8 Feb 2018 00:21:10 +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=ca0e6eeb8ef84cd2a6d572f971f4ae147d8c76d8;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/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 */