From: Simon Arlott Date: Tue, 4 May 2010 19:06:06 +0000 (+0100) Subject: rp-pppoe: allow MTU to be increased up to 1500 X-Git-Tag: ppp-2.4.7~48 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=fd1dcdf758418f040da3ed801ab001b5e46854e7;hp=fd1dcdf758418f040da3ed801ab001b5e46854e7;p=ppp.git rp-pppoe: allow MTU to be increased up to 1500 The ethernet data limit on rp-pppoe has been increased to 1508 to allow an MTU of 1500 to be used. To prevent problems the interface MTU is checked and used to lower the configured MTU/MRU. If MIN(MTU/MRU) is > 1492, PPP-Max-Payload is added to PADI and PADR. If PPP-Max-Payload is received in PADO or PADS, it will be used to lower the configured MTU/MRU as required. The MTU/MRU settings are stored and reloaded whenever a connection is made, to allow for the peer or interface MTU/MRU to increase if used with persist option. Conforming to RFC4638, if no PPP-Max-Payload is received, the negotiated MRU will be limited to 1492. ---