diff options
author | ru <ru@FreeBSD.org> | 2002-12-25 09:16:58 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-25 09:16:58 +0000 |
commit | 94490dce08e3e41b8f099a608f0151bd9f408fc0 (patch) | |
tree | dd0a1918b7ce5cff0e23a7ff9654ae651ed52ca7 | |
parent | 26d0fd77c32e86119e3e64730138db36b31d7031 (diff) | |
download | FreeBSD-src-94490dce08e3e41b8f099a608f0151bd9f408fc0.zip FreeBSD-src-94490dce08e3e41b8f099a608f0151bd9f408fc0.tar.gz |
A month after pst@ has committed his revision 1.8, it was
incorporated by UCB as revision 8.5. Do a diff reduction.
-rw-r--r-- | sys/net/radix.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c index f6cdadb..7fd8c71 100644 --- a/sys/net/radix.c +++ b/sys/net/radix.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)radix.c 8.4 (Berkeley) 11/2/94 + * @(#)radix.c 8.5 (Berkeley) 5/19/95 * $FreeBSD$ */ @@ -587,6 +587,9 @@ rn_addroute(v_arg, n_arg, head, treenodes) * in a masklist -- most specific to least specific. * This may require the unfortunate nuisance of relocating * the head of the list. + * + * We also reverse, or doubly link the list through the + * parent pointer. */ if (tt == saved_tt) { struct radix_node *xx = x; @@ -772,8 +775,8 @@ on1: dupedkey = saved_tt->rn_dupedkey; if (dupedkey) { /* - * at this point, tt is the deletion target and saved_tt - * is the head of the dupekey chain + * Here, tt is the deletion target and + * saved_tt is the head of the dupekey chain. */ if (tt == saved_tt) { /* remove from head of chain */ |