summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2018-02-08 00:19:54 +0000
committerclaudio <claudio@openbsd.org>2018-02-08 00:19:54 +0000
commitde01803170cb701f4868be124a12fd8368c4cef1 (patch)
treed31587f867081de10963933b041a261148022f86 /usr.sbin/ripd
parentBump the read sockbuf of the routing socket to 2MB, may help reduce some of (diff)
downloadwireguard-openbsd-de01803170cb701f4868be124a12fd8368c4cef1.tar.xz
wireguard-openbsd-de01803170cb701f4868be124a12fd8368c4cef1.zip
Bump the read sockbuf of the routing socket to 2MB, may help reduce some of
the desync cases. OK benno@
Diffstat (limited to 'usr.sbin/ripd')
-rw-r--r--usr.sbin/ripd/ripd.h4
1 files 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 <norby@openbsd.org>
@@ -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