From: claudio Date: Thu, 8 Feb 2018 00:17:31 +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=74f766b7572197059e6ce84c6e474d94b74cf1e4;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/ldpd/ldpd.h b/usr.sbin/ldpd/ldpd.h index 576d340e200..6280bde5588 100644 --- a/usr.sbin/ldpd/ldpd.h +++ b/usr.sbin/ldpd/ldpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpd.h,v 1.87 2017/03/04 00:21:48 renato Exp $ */ +/* $OpenBSD: ldpd.h,v 1.88 2018/02/08 00:17:31 claudio Exp $ */ /* * Copyright (c) 2013, 2016 Renato Westphal @@ -47,7 +47,7 @@ #define L2VPN_NAME_LEN 32 #define RT_BUF_SIZE 16384 -#define MAX_RTSOCK_BUF 128 * 1024 +#define MAX_RTSOCK_BUF (2 * 1024 * 1024) #define LDP_BACKLOG 128 #define F_LDPD_INSERTED 0x0001