Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jun 1997 05:16:40 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        "Lenzi, Sergio" <lenzi@bsi.com.br>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: pppd & natd problem turnaround.. 
Message-ID:  <199706090416.FAA08889@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Mon, 09 Jun 1997 00:49:34 -0000." <Pine.BSF.3.91.970609004516.1188A-100000@sergio> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Hello all.
> 
> I have seen some messages dealing with pppd & natd panicing FreeBSD 2.2
> systems.
> 
> The problem arises when a negative m->m_len value is reveived in function
> pppfcs in module sys/net/ppp_tty.c 
> 
> A turnaround is to replace m_len to ZERO whenever is less then zero.
> 
> I know it is not the best, but it works for now.
> 
> Here is the patch.
[.....]

I've updated it to -current and 2.2.  Thanks.  As you say, it prevents
a panic !

> 
> Sergio Lenzi.
> 
> Unix consult.
> 

-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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