Just add a comment to further investigate when being closer to that code

again next time.  The condition of the 2nd if() is very unlikely ever met.
This commit is contained in:
Bjoern A. Zeeb 2012-06-22 21:26:35 +00:00
parent de37372f73
commit 23bc7025c4

View File

@ -597,6 +597,7 @@ selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
if (ron->ro_rt == NULL) {
in6_rtalloc(ron, fibnum); /* multi path case? */
if (ron->ro_rt == NULL) {
/* XXX-BZ WT.? */
if (ron->ro_rt) {
RTFREE(ron->ro_rt);
ron->ro_rt = NULL;