From owner-freebsd-current Wed Jul 28 2:34: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id 28F231542C; Wed, 28 Jul 1999 02:33:53 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id KAA98210; Wed, 28 Jul 1999 10:32:33 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id JAA01248; Wed, 28 Jul 1999 09:54:32 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199907280854.JAA01248@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: sobomax@altavista.net Cc: Brian Somers , Brian Somers , current@FreeBSD.ORG, brian@FreeBSD.ORG, jmg@FreeBSD.ORG Subject: Re: [Fwd: Tun interface related panic] In-reply-to: Your message of "Tue, 27 Jul 1999 19:06:14 +0300." <379DD8F6.F7FAF025@altavista.net> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_13032826870" Date: Wed, 28 Jul 1999 09:54:32 +0100 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multipart MIME message. --==_Exmh_13032826870 Content-Type: text/plain; charset=us-ascii [.....] > > I've fixed it in -current, not yet in -stable. You could try the > > latest ppp archive from my web site if you want to confirm whether > > or not the fix works. > > No, you misunderstood me. I'm usually using on my 3.2 box the ppp compiled from the current > sources of 4.0 (BTW ppp from 3.2 doesn't have this bug). When I've wrote that sources was > cvsup'ed today I mean 4.0 sources not 3.2. Can you try applying the attached patch and enabling debug logging ? What do the diagnostics say for that packet before you see the IO error ? Cheers. > -Maxim > -- > "We believe in the Power and the Might!" > (Manowar, 1996) > ---------------------------------------- > Maxim V. Sobolev, Financial Analyst, > Vega International Capital > Phone: +380-(44)-246-6396 > Fax: +380-(44)-220-8715 > E-mail: sobomax@altavista.net > ICQ: #42290709 > ---------------------------------------- -- Brian Don't _EVER_ lose your sense of humour ! --==_Exmh_13032826870 Content-Type: application/x-patch ; name="link.patch" Content-Description: link.patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="link.patch" Index: link.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.sbin/ppp/link.c,v retrieving revision 1.12 diff -u -r1.12 link.c --- link.c 1999/06/02 15:59:03 1.12 +++ link.c 1999/07/28 08:51:44 @@ -263,6 +263,8 @@ if (l->layer[layer]->pull !=3D NULL) bp =3D (*l->layer[layer]->pull)(b, l, bp, &proto); = + log_Printf(LogDEBUG, "link_PullPacket: Proto 0x%04x length %d\n", pr= oto, mbuf_Length(bp)); + if (layer =3D=3D l->nlayers - 1) { /* We've just done the top layer, despatch the packet(s) */ while (bp) { --==_Exmh_13032826870-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message