svn commit: r286194 - head/sys/netinet6
Andrey V. Elsukov
ae at FreeBSD.org
Sun Aug 2 11:58:26 UTC 2015
Author: ae
Date: Sun Aug 2 11:58:24 2015
New Revision: 286194
URL: https://svnweb.freebsd.org/changeset/base/286194
Log:
Remove redundant check.
Modified:
head/sys/netinet6/in6_src.c
Modified: head/sys/netinet6/in6_src.c
==============================================================================
--- head/sys/netinet6/in6_src.c Sun Aug 2 10:08:57 2015 (r286193)
+++ head/sys/netinet6/in6_src.c Sun Aug 2 11:58:24 2015 (r286194)
@@ -640,14 +640,9 @@ selectroute(struct sockaddr_in6 *dstsock
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;
- }
error = EHOSTUNREACH;
goto done;
- }
+ }
}
rt = ron->ro_rt;
More information about the svn-src-all
mailing list