Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 19:48:29 -0800
From:      Tod Oace <tod@quay.com>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        jlemon@FreeBSD.ORG
Subject:   Re: Freeze from pppd
Message-ID:  <CE5FCBC8-5F3D-11D7-AD96-00039388DE60@quay.com>
In-Reply-To: <20030323201731.X81027@news1.macomnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Your patch is working great here. Still struggling with pppd 
configuration, but I am no longer getting any system freezes on my ppp 
dialin attempts. Thanks, Maxim!
-Tod

On Sunday, March 23, 2003, at 09:18 AM, Maxim Konovalov wrote:

> Try a next patch.
>
> Index: if_ppp.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/net/if_ppp.c,v
> retrieving revision 1.90
> diff -u -r1.90 if_ppp.c
> --- if_ppp.c	4 Mar 2003 23:19:51 -0000	1.90
> +++ if_ppp.c	23 Mar 2003 17:05:28 -0000
> @@ -1571,7 +1571,7 @@
>        rv = IF_HANDOFF(&sc->sc_inq, m, NULL);
>      else
>        rv = netisr_queue(isr, m);
> -    if (rv) {
> +    if (!rv) {
>  	if (sc->sc_flags & SC_DEBUG)
>  	    if_printf(ifp, "input queue full\n");
>  	ifp->if_iqdrops++;
>
> %%%
>
> -- 
> Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org
>
-- 
Tod Oace <tod@quay.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE5FCBC8-5F3D-11D7-AD96-00039388DE60>