From owner-cvs-all Thu Aug 17 23:55:12 2000 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 2ED1B37B717; Thu, 17 Aug 2000 23:55:06 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.9.3/8.9.3) with ESMTP id HAA13879; Fri, 18 Aug 2000 07:54:27 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.0/8.11.0) with ESMTP id e7I6sKF44766; Fri, 18 Aug 2000 07:54:20 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200008180654.e7I6sKF44766@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Archie Cobbs Cc: Brian Somers , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: cvs commit: src/usr.sbin/ppp README.changes mp.c In-Reply-To: Message from Archie Cobbs of "Thu, 17 Aug 2000 16:43:27 PDT." <200008172343.QAA00191@bubba.whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 Aug 2000 07:54:20 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Brian Somers writes: > > Modified files: > > usr.sbin/ppp README.changes mp.c > > Log: > > If we're in MP mode with a single open link, MP link level compression > > isn't open and the links MRU >= our MRRU, send outbound traffic as > > PROTO_IP rather than PROTO_MP. This shaves some bytes off the front > > of each packet 'till the second link is brought up. > > FYI- > Mixing MP frames with non-MP frames is slightly dangerous. The > problem is that the PPP link layer is required to deliver packets > in order. When you go from MP encapsulating packets to not MP > encapsulating packets (or vice-versa) you can't guarantee that the > peer will deliver the packets in the same order that you sent them > without being careful. This is mainly a problem when going from 1 > -> 2 links I believe... or when mixing MP and non-MP over multiple > links. It should only ever be possible to deliver out-of-order network layer frames here, and even then, only a single frame can be out of order at the time of the second link opening. I think the reason behind the link layer being required to deliver in order is so that the control protocol packets don't make a mess of the peers state machine (out of order IPCP frames for example). As ppp currently only does IP as an NCP, and IP packets are allowed to be delivered out-of-order, I think this is ok. > -Archie > > ___________________________________________________________________________ > Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message