]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When the RADIX_MPATH kernel option is enabled, the RADIX_MPATH code tries
authorQing Li <qingli@FreeBSD.org>
Thu, 25 Aug 2011 04:31:20 +0000 (04:31 +0000)
committerQing Li <qingli@FreeBSD.org>
Thu, 25 Aug 2011 04:31:20 +0000 (04:31 +0000)
commitfc96aabef121a95421141b9fbf285d39393efe29
tree8929f307abdd5394a7236f61f338c2f2f17d879f
parent4969b96e574818cfda2d2335c927e16449b069d1
When the RADIX_MPATH kernel option is enabled, the RADIX_MPATH code tries
to find the first route node of an ECMP chain before executing the route
command. If the system has a default route, and the specific route argument
to the command does not exist in the routing table, then the default route
would be reached. The current code does not verify the reached node matches
the given route argument, therefore erroneous removed the entry. This patch
fixes that bug.

Approved by: re
MFC after: 3 days
sys/net/radix_mpath.c