*BSD News Article 41650


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!caen!usenet.cis.ufl.edu!usenet.eel.ufl.edu!news.mathworks.com!hookup!swrinde!cs.utexas.edu!convex!convex!news.greatbasin.net!eblood
From: eblood@winky.reno.nv.us (Eric Blood)
Subject: Re: ppp crashes my FBSD 2.0
Message-ID: <D335EG.Bnn@greatbasin.com>
Nntp-Posting-Host: winky.reno.nv.us
Sender: usenet@greatbasin.com
Organization: /var/news/organization
Date: Fri, 27 Jan 1995 22:35:02 GMT
References: <D2q0xA.55t@discus.technion.ac.il> <D2uzGs.208@pencotts.demon.co.uk>
Lines: 18

In article <D2uzGs.208@pencotts.demon.co.uk> arg@pencotts.demon.co.uk writes:
>I am also having problems with PPP.  I am using FBSD 2.0, off the 
>Walnut Creek CD.  I have compiled two different kernels...

What you need to do is apply the following patch:

*** if_ppp.c.orig       Tue Nov 22 07:38:43 1994
--- if_ppp.c    Tue Nov 22 07:39:17 1994
***************
*** 432,437 ****
--- 432,438 ----
            m_freem(m0);
            return (ENOBUFS);
        }
+       m->m_len = 0;
        if (uio->uio_resid >= MCLBYTES / 2)
            MCLGET(m, M_DONTWAIT);
        len = M_TRAILINGSPACE(m);