[30] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: MRU problems in 1.1.83 PPP or am I dreaming?

daemon@ATHENA.MIT.EDU (Delman Lee)
Tue Jan 24 00:48:29 1995

Date: Mon, 23 Jan 95 22:12:31 EST
From: delman@mipg.upenn.edu (Delman Lee)
To: linux-net@vger.rutgers.edu
Cc: Linus.Torvalds@cs.helsinki.fi, greg%wind.UUCP@plains.nodak.edu

] The only catch that I seemed to run into was when I lowered the MRU
] (MTU?) to 296.  The default is 1500 which makes interactive work
] slightly bawky.  Following the instructions in SETUP I added an mru
] 296 to the options file on both ends of the length.

There seems to be a buglet in ppp.c. The following should fix it.

Delman.
______________________________________________________________________

  Delman Lee                             Tel.: +1-215-662-6780
  Medical Image Processing Group         Fax.: +1-215-898-9145
  University of Pennsylvania.        Internet: delman@mipg.upenn.edu
______________________________________________________________________



--- drivers/net/ppp.c~  Thu Nov 24 07:18:33 1994
+++ drivers/net/ppp.c   Mon Jan 23 22:06:20 1995
@@ -374,7 +374,7 @@
 
   /* RFC 1331, section 7.2 says the minimum value is 1500 bytes */
   if (mru < PPP_MRU)
-    mru = PPP_MRU;
+    mru = new_mru = PPP_MRU;
 
   mtu = (mtu * 2) + 20;
   mru = (mru * 2) + 20;



home help back first fref pref prev next nref lref last post