mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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.
This commit is contained in:
1 parent
403ef252fa
commit
af78195e00
1 file changed
+2
-2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6876
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user