diff options
author | dg <dg@FreeBSD.org> | 1995-03-04 04:28:50 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-03-04 04:28:50 +0000 |
commit | b9eaccdb6b78c7704ae65f634881e42d8302fcd5 (patch) | |
tree | 274515e8a694fa331dd35cde2d264938c0440b8a /sys/net | |
parent | e4e3f302210d157f9a7a03f25edfe5a8b3047c61 (diff) | |
download | FreeBSD-src-b9eaccdb6b78c7704ae65f634881e42d8302fcd5.zip FreeBSD-src-b9eaccdb6b78c7704ae65f634881e42d8302fcd5.tar.gz |
Reduced loopback MTU to 16k to work around a miriad of problems with it
set near or above 32k (likely caused by 16bit signed word overflow). 16k
actually (surprizingly) has higher performance than other values I tested.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index 871202c..97c303f 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_loop.c 8.1 (Berkeley) 6/10/93 - * $Id: if_loop.c,v 1.5 1994/08/02 07:46:17 davidg Exp $ + * $Id: if_loop.c,v 1.6 1994/08/08 12:07:25 davidg Exp $ */ /* @@ -76,7 +76,7 @@ #ifdef TINY_LOMTU #define LOMTU (1024+512) #else -#define LOMTU 65532 +#define LOMTU 16384 #endif struct ifnet loif; |