cvs commit: src/sys/net radix.c

Qing Li qingli at FreeBSD.org
Tue Feb 7 12:25:40 PST 2006


qingli      2006-02-07 20:25:39 UTC

  FreeBSD src repository

  Modified files:
    sys/net              radix.c 
  Log:
  The code in rn_walktree_from() that checks if we backed up too far
  did not stop at the right node. Change the backtracking check from
  smaller-than to smaller-or-equal to prevent this from happening.
  While here fix one additional problem where the insertion of the
  default route traversed the entire tree.
  
  PR:             kern/38752
  Submitted by:   qingli (before I became committer)
  Reviewed by:    andre
  MFC after:      3 days
  
  Revision  Changes    Path
  1.38      +9 -1      src/sys/net/radix.c


More information about the cvs-src mailing list