Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 1995 13:57:24 -0800
From:      "Garrett A. Wollman" <wollman>
To:        root@genabsd.netvision.net.il, wollman, freebsd-bugs, wollman
Subject:   Changed information for PR kern/269
Message-ID:  <199503222157.NAA16279@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
Old Synopsis: machine hangs when closing ppp
New Synopsis: Insufficient exit conditions in rn_walktree_from()

State-Changed-From-To: open-analyzed
State-Changed-By: wollman
State-Changed-When: Wed Mar 22 13:53:25 PST 1995
State-Changed-Why: 
I think I know what's wrong.  My fix, per mail to the -bugs list, was:

Try changing the code in net/radix.c:rn_walktree_from() which currently
looks like this:

                        /* if went up beyond last, stop */
                        if (rn->rn_b < lastb) {
                                stopping = 1;
                        }
to this:

                        /* if went up beyond last, stop */
                        if (rn->rn_b < lastb || (rn->rn_flags & RNF_ROOT)) {
                                stopping = 1;
                        }

(I introduced the bug.)


Responsible-Changed-From-To: freebsd-bugs->wollman
Responsible-Changed-By: wollman
Responsible-Changed-When: Wed Mar 22 13:53:25 PST 1995
Responsible-Changed-Why: 
I'm working on it.



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