Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2000 18:27:25 +0100 (CET)
From:      jan@sparud.net (Jan Sparud)
To:        David Wetzel <dave@turbocat.de>
Cc:        ISDN-List <freebsd-isdn@FreeBSD.ORG>
Subject:   Re: Cisco Loop-bug?
Message-ID:  <14456.50429.999931.135856@hinken.sparud.net>
In-Reply-To: <200001091719.SAA00310@cat.turbocat.de>
References:  <200001091719.SAA00310@cat.turbocat.de>

next in thread | previous in thread | raw e-mail | index | archive | help

> Hi!  Has someone made a patch that could speed up this?

As mentioned in the mail I just sent to the list, I think the
fix to that propblem is to decrease the lcp timeout value.

/Janne

*** if_spppsubr.c.0.90  Wed Jan  5 15:34:40 2000
--- if_spppsubr.c       Sun Jan  9 17:58:52 2000
***************
*** 1926,1932 ****
        sp->lcp.mru = sp->lcp.their_mru = PP_MTU;
  
        /* Note that these values are  relevant for all control protocols */
!       sp->lcp.timeout = 3 * hz;
  
        sp->lcp.max_terminate = 2;
        sp->lcp.max_configure = 10;
--- 1934,1940 ----
        sp->lcp.mru = sp->lcp.their_mru = PP_MTU;
  
        /* Note that these values are  relevant for all control protocols */
!       sp->lcp.timeout = 1 * hz;
  
        sp->lcp.max_terminate = 2;
        sp->lcp.max_configure = 10;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




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