Re: Freeze from pppd

From: Tod Oace <tod_at_quay.com>
Date: Tue, 25 Mar 2003 19:48:29 -0800
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
> _at__at_ -1571,7 +1571,7 _at__at_
>        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_at_macomnet.ru, maxim_at_FreeBSD.org
>
-- 
Tod Oace <tod_at_quay.com>
Received on Tue Mar 25 2003 - 18:48:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:01 UTC