Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!cs.utexas.edu!swrinde!pipex!peernews.demon.co.uk!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.os.386bsd.questions Subject: Re: ppp crashes my FBSD 2.0 Date: 6 Feb 1995 03:11:53 -0000 Organization: None Lines: 28 Message-ID: <3h441p$75@awfulhak.demon.co.uk> References: <D2q0xA.55t@discus.technion.ac.il> NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Gil Amit (amitgil@techunix.technion.ac.il) wrote: : hi, : After playing a little on the net with pppd, my system crashes. : Are there known fixes ? Yep, *** 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); -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....