summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_tc.c
diff options
context:
space:
mode:
authorqingli <qingli@FreeBSD.org>2006-02-07 20:25:39 +0000
committerqingli <qingli@FreeBSD.org>2006-02-07 20:25:39 +0000
commitd6ddb869d26b9bf973b27926265ea63c6a1e9aa0 (patch)
treed2d552d5d91709db46a5b9ffec084add783aa8ca /sys/kern/kern_tc.c
parenta40b4d8d503683958fef7a33bbb2b7620751c9ef (diff)
downloadFreeBSD-src-d6ddb869d26b9bf973b27926265ea63c6a1e9aa0.zip
FreeBSD-src-d6ddb869d26b9bf973b27926265ea63c6a1e9aa0.tar.gz
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
Diffstat (limited to 'sys/kern/kern_tc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud