From owner-freebsd-isdn Fri Jan 24 6:19: 5 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0DBD37B401 for ; Fri, 24 Jan 2003 06:19:02 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BB2C43F18 for ; Fri, 24 Jan 2003 06:19:01 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from raisa (raisa.lemi.suutari.iki.fi [192.168.53.2]) by guinness.syncrontech.com (8.12.6/8.12.6) with SMTP id h0OEIxEI003830; Fri, 24 Jan 2003 16:18:59 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) Message-ID: <001001c2c3b4$b013ea60$0235a8c0@raisa> From: "Ari Suutari" To: "Gary Jennejohn" Cc: "G Hasse" , References: <200301241137.h0OBbp6e003767@peedub.jennejohn.org> Subject: Re: Problem with "no bufferspace" - solution Date: Fri, 24 Jan 2003 16:27:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, > > The LCP is most probably still in STATE_INITIAL since no data were ever > exchanged with the other end. > > I recommend something like this (this is not a diff! I just added code > here): > I did some reading on PPP RFC (1661). The correct way for physical layer to signal that it is no longer able to carry packet is to use Down event. So I think that my original code was correct. The problem is in sppp layer, which works otherwise ok but prints out extraneous message. The PPP RFC doesn't say that it is legal to receive Down event when LCP is in starting state but says elsewhere that Down is the event to use by physical layer... Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message