Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 1999 09:54:32 +0100
From:      Brian Somers <brian@FreeBSD.org.uk>
To:        sobomax@altavista.net
Cc:        Brian Somers <brian@FreeBSD.org.uk>, Brian Somers <brian@Awfulhak.org>, current@FreeBSD.ORG, brian@FreeBSD.ORG, jmg@FreeBSD.ORG
Subject:   Re: [Fwd: Tun interface related panic] 
Message-ID:  <199907280854.JAA01248@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Tue, 27 Jul 1999 19:06:14 %2B0300." <379DD8F6.F7FAF025@altavista.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>


--==_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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907280854.JAA01248>