diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-01-17 21:22:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-01-17 21:22:55 +0000 |
commit | a76146c54b1f994852289ce97b73afa755f9c25a (patch) | |
tree | fab8ca7f77d0201815776d834868f2da1b875d7c /sys/net | |
parent | 2803ef19da3f43aa3b26e26aa0b63ef88cacde08 (diff) |
hardwire SLIP_HIWAT to 100 (as the comment above suggests) since we are
using tty ring buffers instead of clists
ok kettenis
Diffstat (limited to 'sys/net')
-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 */ |