summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-01-17 21:22:54 +0000
committerderaadt <deraadt@openbsd.org>2013-01-17 21:22:54 +0000
commit325c50469e0ae59e8b1457962ba1b4b10ca4bd6f (patch)
tree879ab5455493ede96a67a9e22b6a9c729a32d2bc
parentremove a uesless Pp; (diff)
downloadwireguard-openbsd-325c50469e0ae59e8b1457962ba1b4b10ca4bd6f.tar.xz
wireguard-openbsd-325c50469e0ae59e8b1457962ba1b4b10ca4bd6f.zip
hardwire SLIP_HIWAT to 100 (as the comment above suggests) since we are
using tty ring buffers instead of clists ok kettenis
-rw-r--r--sys/net/if_sl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index 7b481188cb2..d7e99e15c2a 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sl.c,v 1.44 2011/07/06 02:42:28 henning Exp $ */
+/* $OpenBSD: if_sl.c,v 1.45 2013/01/17 21:22:54 deraadt Exp $ */
/* $NetBSD: if_sl.c,v 1.39.4.1 1996/06/02 16:26:31 thorpej Exp $ */
/*
@@ -154,7 +154,7 @@
#if (SLMTU < 3)
#error Huh? SLMTU way too small.
#endif
-#define SLIP_HIWAT roundup(50,CBSIZE)
+#define SLIP_HIWAT 100
#if !(defined(__NetBSD__) || defined(__OpenBSD__)) /* XXX - cgd */
#define CLISTRESERVE 1024 /* Can't let clists get too low */
#endif /* !NetBSD */