diff options
author | 2013-01-17 21:22:54 +0000 | |
---|---|---|
committer | 2013-01-17 21:22:54 +0000 | |
commit | 325c50469e0ae59e8b1457962ba1b4b10ca4bd6f (patch) | |
tree | 879ab5455493ede96a67a9e22b6a9c729a32d2bc | |
parent | remove a uesless Pp; (diff) | |
download | wireguard-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.c | 4 |
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 */ |