Freeze from pppd
Tod Oace
tod at quay.com
Tue Mar 25 19:48:36 PST 2003
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 at macomnet.ru, maxim at FreeBSD.org
>
--
Tod Oace <tod at quay.com>
More information about the freebsd-current
mailing list