diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-25 09:16:58 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-25 09:16:58 +0000 |
commit | 053e23428c724cbb924791cdc2b8f8f4d66d4e57 (patch) | |
tree | dd0a1918b7ce5cff0e23a7ff9654ae651ed52ca7 /sys/net/radix.c | |
parent | 6f782c4636672e40c45ef9c9f17635e6c110d290 (diff) | |
download | src-053e23428c724cbb924791cdc2b8f8f4d66d4e57.tar.gz src-053e23428c724cbb924791cdc2b8f8f4d66d4e57.zip |
A month after pst@ has committed his revision 1.8, it was
incorporated by UCB as revision 8.5. Do a diff reduction.
Notes
Notes:
svn path=/head/; revision=108268
Diffstat (limited to 'sys/net/radix.c')
-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 f6cdadb5f594..7fd8c71544a0 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 */ |