Date: Tue, 7 Feb 2006 20:25:39 +0000 (UTC) From: Qing Li <qingli@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net radix.c Message-ID: <200602072025.k17KPdMH003982@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602072025.k17KPdMH003982>
